summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Lint/MergeFiles.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-05-11 14:56:59 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-05-11 14:56:59 -0500
commit073f1e6fe1b564b1f00cb802fc36c56f739082ec (patch)
treea67ca04cdb3d793b279c1c96a5b727ebd553a39f /src/lib/Bcfg2/Server/Lint/MergeFiles.py
parentf2f26ff7561c66656e41cfced999701bc84c06c5 (diff)
downloadbcfg2-073f1e6fe1b564b1f00cb802fc36c56f739082ec.tar.gz
bcfg2-073f1e6fe1b564b1f00cb802fc36c56f739082ec.tar.bz2
bcfg2-073f1e6fe1b564b1f00cb802fc36c56f739082ec.zip
Lint: Fix for python 3
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/MergeFiles.py')
-rw-r--r--src/lib/Bcfg2/Server/Lint/MergeFiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/MergeFiles.py b/src/lib/Bcfg2/Server/Lint/MergeFiles.py
index 44d02c2ff..2419c3d43 100644
--- a/src/lib/Bcfg2/Server/Lint/MergeFiles.py
+++ b/src/lib/Bcfg2/Server/Lint/MergeFiles.py
@@ -57,7 +57,7 @@ class MergeFiles(Bcfg2.Server.Lint.ServerPlugin):
else:
threshold = 0.75
rv = []
- elist = entries.items()
+ elist = list(entries.items())
while elist:
result = self._find_similar(elist.pop(0), copy.copy(elist),
threshold)