From: Cameron Patrick Date: Sun, 1 Aug 2004 05:23:59 +0000 (+0000) Subject: throw an exception after rebooting server X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=151da34cc4282b32721ccd81c38a2e78a07f7ade;p=zanchey%2Fdispense2.git throw an exception after rebooting server --- diff --git a/sql-edition/servers/LATClient.py b/sql-edition/servers/LATClient.py index 2603ce9..fd5cf23 100644 --- a/sql-edition/servers/LATClient.py +++ b/sql-edition/servers/LATClient.py @@ -83,6 +83,7 @@ class LATClient: sleep(10) print "Rightyo, back to vending!" print + raise LATClientException('needed to reboot server') def read_reply(self): head = self.sock.recv(3)