Fix python 3 syntax errors with new revdep-rebuild. Change VERSION to
[gentoolkit.git] / pym / gentoolkit / helpers.py
index cf1b138066201aba5480204ce436e741a2e567a7..225a1989e175929d2c3cdaf68bedacae67685714 100644 (file)
@@ -7,7 +7,7 @@
 """Miscellaneous helper functions and classes.
 
 @note: find_* functions that previously lived here have moved to
-       the query module, where they are called as: Query('portage').find_*().
+          the query module, where they are called as: Query('portage').find_*().
 """
 
 __all__ = (
@@ -333,7 +333,7 @@ class FileOwner(object):
 
                osp = os.path
                paths.extend([osp.realpath(x) for x in paths
-                       if osp.islink(x) and osp.realpath(x) not in paths])
+                       if osp.realpath(x) not in paths])
 
                return paths
 
@@ -476,16 +476,4 @@ def uniqify(seq, preserve_order=True):
 
        return result
 
-def uniqify_atoms(seq):
-       """Return a uniqified list."""
-       seen = set()
-       result = []
-       for x in seq:
-               dep = x.get_depstr()
-               if dep not in seen:
-                       result.append(x)
-                       seen.add(dep)
-
-       return result
-
 # vim: set ts=4 sw=4 tw=79: