Add date in __repr__
This commit is contained in:
parent
94481e6955
commit
518b795051
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class GaugeMeasure(CapBaseObject):
|
|||
|
||||
def __repr__(self):
|
||||
if self.level:
|
||||
return "<GaugeMeasure level=%f alarm=%s>" % (self.level, self.alarm)
|
||||
return "<GaugeMeasure level=%f alarm=%s date=%s>" % (self.level, self.alarm, self.date)
|
||||
else:
|
||||
return "<GaugeMeasure NotAvailable>"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue