summaryrefslogtreecommitdiffstats
path: root/src/nbblib/vcs.py
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-25 14:05:22 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:53 +0200
commit7c8e2cdacaee25c97266911be609dd3c3299eb95 (patch)
tree0124673e9701a1aaaed6291d8ba70eff0c132395 /src/nbblib/vcs.py
parent50329926dae11a934a526315d09eb1e7f897a06e (diff)
downloadnbb-7c8e2cdacaee25c97266911be609dd3c3299eb95.tar.gz
nbb-7c8e2cdacaee25c97266911be609dd3c3299eb95.tar.xz
nbb-7c8e2cdacaee25c97266911be609dd3c3299eb95.zip
Iterate over dict.iteritems() instead of .items()
Diffstat (limited to 'src/nbblib/vcs.py')
-rw-r--r--src/nbblib/vcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nbblib/vcs.py b/src/nbblib/vcs.py
index a3e4867..a5df8c9 100644
--- a/src/nbblib/vcs.py
+++ b/src/nbblib/vcs.py
@@ -75,7 +75,7 @@ class VCSourceTree(object):
if len(VCSourceTree.plugins) < 1:
raise NoPluginsRegistered(cls)
matches = PluginDict()
- for key, klass in VCSourceTree.plugins.items():
+ for key, klass in VCSourceTree.plugins.iteritems():
try:
t = klass(srcdir, context)
if t.tree_root() == srcdir: