mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
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)]
|
||||
core_exception = exceptions.CoreException(name, message, params, traceback)
|
||||
|
||||
print(core_exception.id, core_exception.name)
|
||||
if core_exception.id == 0:
|
||||
python_exn_type = getattr(exceptions, core_exception.name.split('.')[-1])
|
||||
else:
|
||||
|
@ -5,7 +5,6 @@ class SourceLoader:
|
||||
self.runtime_root = runtime_root
|
||||
|
||||
def get_source(self, filename):
|
||||
print(os.path.join(self.runtime_root, filename))
|
||||
with open(os.path.join(self.runtime_root, filename)) as f:
|
||||
return f.read()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user