diff --git a/tangoObjects.py b/tangoObjects.py index 5d2c6d2c..25162409 100644 --- a/tangoObjects.py +++ b/tangoObjects.py @@ -30,6 +30,10 @@ def __init__(self, localFile, destFile): self.localFile = localFile self.destFile = destFile + def __repr__(self): + return "InputFile(localFile: %s, destFile: %s)" % (self.localFile, + self.destFile) + class TangoMachine(): @@ -54,6 +58,9 @@ def __init__(self, name="DefaultTestVM", image=None, vmms=None, self.id = id self.instance_id = id + def __repr__(self): + return "TangoMachine(image: %s, vmms: %s)" % (self.image, self.vmms) + class TangoJob():