diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-04-22 15:08:49 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-04-22 15:08:49 +0000 |
commit | 3cecab7699a921524d954e761ee6614c6289625d (patch) | |
tree | 7f7a49f3a34f62425961140133628ceb1e3b2dbd /lorrycontroller | |
parent | 7cffc6242246a6232016d564b2e6b0521a7699b9 (diff) | |
download | lorry-controller-3cecab7699a921524d954e761ee6614c6289625d.tar.gz |
Goodbye, Scotty, we will miss you
Diffstat (limited to 'lorrycontroller')
-rw-r--r-- | lorrycontroller/status.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lorrycontroller/status.py b/lorrycontroller/status.py index bd32e6b..5e011d5 100644 --- a/lorrycontroller/status.py +++ b/lorrycontroller/status.py @@ -28,15 +28,8 @@ class StatusRenderer(object): '''Helper class for rendering service status as JSON/HTML''' def get_status_as_dict(self, statedb, work_directory): - quotes = [ - "Never get drunk unless you're willing to pay for it - " - "the next day.", - "I'm giving her all she's got, Captain!", - ] - import random now = statedb.get_current_time() status = { - 'quote': '%s' % random.choice(quotes), 'running_queue': statedb.get_running_queue(), 'timestamp': time.strftime('%Y-%m-%d %H:%M:%S UTC', time.gmtime(now)), |