Skip to content

Commit 7f40fbb

Browse files
Porting Python2 to Python3 (small fixes)
1 parent 2e06e58 commit 7f40fbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systemvm/debian/opt/cloud/bin/cs/CsApp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -- coding: utf-8 --
1+
# -- coding: utf-8 --
22
# Licensed to the Apache Software Foundation (ASF) under one
33
# or more contributor license agreements. See the NOTICE file
44
# distributed with this work for additional information

systemvm/debian/opt/cloud/bin/cs_dhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def merge(dbag, data):
2626
del(dbag[data['ipv4_address']])
2727
else:
2828
remove_keys = set()
29-
for key, entry in dbag.iteritems():
29+
for key, entry in dbag.items():
3030
if key != 'id' and entry['mac_address'] == data['mac_address']:
3131
remove_keys.add(key)
3232
break

0 commit comments

Comments
 (0)