Utilities/uic.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
54 py_file = ui_file[:-3] + '.py' 54 py_file = ui_file[:-3] + '.py'
55 55
56 # Allow the caller to change the name of the .py file or generate 56 # Allow the caller to change the name of the .py file or generate
57 # it in a different directory. 57 # it in a different directory.
58 if map is not None: 58 if map is not None:
59 py_dir, py_file = map(py_dir, py_file) 59 py_dir, py_file = list(map(py_dir, py_file))
60 60
61 # Make sure the destination directory exists. 61 # Make sure the destination directory exists.
62 try: 62 try:
63 os.makedirs(py_dir) 63 os.makedirs(py_dir)
64 except: 64 except:

eric ide

mercurial