mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Update script to Python 3
This commit is contained in:
@@ -39,7 +39,7 @@ filename = scriptDir + '/swift.imp'
|
|||||||
if os.path.exists(filename):
|
if os.path.exists(filename):
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
|
|
||||||
print filename
|
print(filename)
|
||||||
imp = open(filename, 'w')
|
imp = open(filename, 'w')
|
||||||
imp.write('[\n')
|
imp.write('[\n')
|
||||||
for mapping in mappings:
|
for mapping in mappings:
|
||||||
|
|||||||
Reference in New Issue
Block a user