forked from M-Labs/artiq
coredevice: remove some print()s
This commit is contained in:
parent
2beaf23e6c
commit
e0f2d94191
|
@ -506,7 +506,6 @@ class CommGeneric:
|
||||||
[(filename, line, column, function, None)]
|
[(filename, line, column, function, None)]
|
||||||
core_exception = exceptions.CoreException(name, message, params, traceback)
|
core_exception = exceptions.CoreException(name, message, params, traceback)
|
||||||
|
|
||||||
print(core_exception.id, core_exception.name)
|
|
||||||
if core_exception.id == 0:
|
if core_exception.id == 0:
|
||||||
python_exn_type = getattr(exceptions, core_exception.name.split('.')[-1])
|
python_exn_type = getattr(exceptions, core_exception.name.split('.')[-1])
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -5,7 +5,6 @@ class SourceLoader:
|
||||||
self.runtime_root = runtime_root
|
self.runtime_root = runtime_root
|
||||||
|
|
||||||
def get_source(self, filename):
|
def get_source(self, filename):
|
||||||
print(os.path.join(self.runtime_root, filename))
|
|
||||||
with open(os.path.join(self.runtime_root, filename)) as f:
|
with open(os.path.join(self.runtime_root, filename)) as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue