forked from M-Labs/artiq
1
0
Fork 0

coredevice: remove some print()s

This commit is contained in:
Robert Jördens 2016-01-25 15:58:32 -07:00
parent 2beaf23e6c
commit e0f2d94191
2 changed files with 0 additions and 2 deletions

View File

@ -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:

View File

@ -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()