summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-04-11 10:32:06 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-04-13 07:27:12 +0200
commitf3b52875388da6e064567621a53e9ccb508dc6d5 (patch)
tree1a6cf17023f0e6a9c98bc80c18417191e403efd8 /buildtools
parent6716971ce1b023affc2503b72e83c22581faf64a (diff)
downloadsamba-f3b52875388da6e064567621a53e9ccb508dc6d5.tar.gz
python: bulk replace dict.iteritems to items for py3
In py3, iterxxx methods are removed. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_version.py b/buildtools/wafsamba/samba_version.py
index 950a855c1ef..be26439f1a6 100644
--- a/buildtools/wafsamba/samba_version.py
+++ b/buildtools/wafsamba/samba_version.py
@@ -95,7 +95,7 @@ also accepted as dictionary entries here
self.VENDOR_SUFFIX=None
self.VENDOR_PATCH=None
- for a, b in version_dict.iteritems():
+ for a, b in version_dict.items():
if a.startswith("SAMBA_VERSION_"):
setattr(self, a[14:], b)
else: