Python 3 compatibility

This commit is contained in:
Sebastian Huber
2015-11-12 11:15:23 +01:00
parent ab922fec9c
commit 04a52040ae
28 changed files with 284 additions and 283 deletions

View File

@@ -50,13 +50,13 @@ class time_of_day:
return bool(self.tod['is_set'])
def show(self):
print ' Time Of Day'
print(' Time Of Day')
if not self.is_set():
print ' Application has not set a TOD'
print(' Application has not set a TOD')
print ' Now:', self.now()
print ' Uptime:', self.timer()
print(' Now:', self.now())
print(' Uptime:', self.timer())
class message_queue: