Mercurial > paraspace
changeset 45:71218ba3bc8a
Remove unused depend.link()
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 19 Jun 2011 20:53:28 +0800 |
parents | 8fc294b06e22 |
children | 94e80f7a61b5 |
files | paraspace/dexfile.py |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/paraspace/dexfile.py Sun Jun 19 19:52:58 2011 +0800 +++ b/paraspace/dexfile.py Sun Jun 19 20:53:28 2011 +0800 @@ -744,9 +744,6 @@ def to_str(self, child): return self.child_type.to_str(child) - - def link(self, child, name_path, parents, markers_info): - raise NotImplementedError, 'does not support link() method' pass @@ -760,16 +757,6 @@ class depend_off(depend): - def link(self, child, name_path, parents, markers_info): - parent = parents[-1] - name = name_path.split('.')[-1] - - dep_on_name_path = self.depend_on - id_item_map = markers_info[dep_on_name_path] - dep_on = id_item_map[child.data_offset] - - _set_name_path_name(parent, name, dep_on) - pass pass