diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-06-25 14:05:22 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-15 12:28:53 +0200 |
commit | 7c8e2cdacaee25c97266911be609dd3c3299eb95 (patch) | |
tree | 0124673e9701a1aaaed6291d8ba70eff0c132395 /src/nbblib/bs.py | |
parent | 50329926dae11a934a526315d09eb1e7f897a06e (diff) | |
download | nbb-7c8e2cdacaee25c97266911be609dd3c3299eb95.tar.gz nbb-7c8e2cdacaee25c97266911be609dd3c3299eb95.tar.xz nbb-7c8e2cdacaee25c97266911be609dd3c3299eb95.zip |
Iterate over dict.iteritems() instead of .items()
Diffstat (limited to 'src/nbblib/bs.py')
-rw-r--r-- | src/nbblib/bs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nbblib/bs.py b/src/nbblib/bs.py index e78cd19..b325355 100644 --- a/src/nbblib/bs.py +++ b/src/nbblib/bs.py @@ -45,7 +45,7 @@ class BSSourceTree(object): if len(BSSourceTree.plugins) < 1: raise NoPluginsRegistered(cls) matches = PluginDict() - for key, klass in BSSourceTree.plugins.items(): + for key, klass in BSSourceTree.plugins.iteritems(): try: t = klass(vcs_tree, context) if t.tree_root() == vcs_tree.tree_root(): |