diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-11 01:39:31 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-11 01:39:31 +0200 |
commit | d9a7cd1da64da57bea05e5b234b9d9c6fea7f911 (patch) | |
tree | 65955560af923d5fc5a6517f8362903f840d13ee /portato/dependency.py | |
parent | 3c52ca58438e77d791a5cd5a2e3e0427445e93c2 (diff) | |
download | portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.gz portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.bz2 portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.zip |
applied 2to3 and fixed the result
Diffstat (limited to 'portato/dependency.py')
-rw-r--r-- | portato/dependency.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/dependency.py b/portato/dependency.py index 4b505e6..0699b8a 100644 --- a/portato/dependency.py +++ b/portato/dependency.py @@ -14,7 +14,7 @@ Provides classes for the presentation of dependencies. """ -from __future__ import absolute_import, with_statement + __docformat__ = "restructuredtext" from collections import defaultdict @@ -165,14 +165,14 @@ class DependencyTree (object): # use if dep[-1] == "?": ntree = self.add_flag(dep[:-1]) - n = it.next() + n = next(it) if not hasattr(n, "__iter__"): n = [n] ntree.parse(n) # or elif dep == "||": - n = it.next() # skip + n = next(it) # skip if not hasattr(n, "__iter__"): n = [n] |