Skip to content
Snippets Groups Projects
Commit 591d5e21 authored by Pawel Szostek's avatar Pawel Szostek
Browse files

Partial support for python v3 (cfgparse.py is still awaiting changes)

parent 946a540c
Branches
Tags
No related merge requests found
......@@ -63,7 +63,7 @@ def generate_deps_for_modules(modules_paths):
from hdlmake import parse_manifest
opt_map_dict = {}
for module in module_manifest_dict.keys():
for module in list(module_manifest_dict.keys()):
if module_manifest_dict[module] != None:
opt_map_dict[module] = parse_manifest(module_manifest_dict[module])
......@@ -178,7 +178,7 @@ clean:
f.write(notices)
f.write(make_preambule_p1)
libs = set(v for k,v in file_lib_dict.iteritems())
libs = set(v for k,v in list(file_lib_dict.items()))
#list vhdl objects (_primary.dat files)
f.write("VHDL_OBJ := ")
for file in file_deps_dict:
......
......@@ -8,7 +8,7 @@ import sys
import pprint as prettyprinter
def echo(msg):
print("["+os.path.basename(sys.argv[0]) + " " + "%.5f" % (time.time()-global_mod.t0) + "]: " + str(msg))
print(("["+os.path.basename(sys.argv[0]) + " " + "%.5f" % (time.time()-global_mod.t0) + "]: " + str(msg)))
def vprint(msg):
if global_mod.options.verbose == True:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment