throw an exception after rebooting server
authorCameron Patrick <cameron@ucc.asn.au>
Sun, 1 Aug 2004 05:23:59 +0000 (05:23 +0000)
committerCameron Patrick <cameron@ucc.asn.au>
Sun, 1 Aug 2004 05:23:59 +0000 (05:23 +0000)
sql-edition/servers/LATClient.py

index 2603ce9..fd5cf23 100644 (file)
@@ -83,6 +83,7 @@ class LATClient:
                sleep(10)
                print "Rightyo, back to vending!"
                print
                sleep(10)
                print "Rightyo, back to vending!"
                print
+               raise LATClientException('needed to reboot server')
 
        def read_reply(self):
                head = self.sock.recv(3)
 
        def read_reply(self):
                head = self.sock.recv(3)

UCC git Repository :: git.ucc.asn.au