git.ucc.asn.au
/
uccvend-vendserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Toggle wraparound logic ... I think it was the wrong way around
[uccvend-vendserver.git]
/
sql-edition
/
servers
/
VendServer.py
diff --git
a/sql-edition/servers/VendServer.py
b/sql-edition/servers/VendServer.py
index
71097bb
..
c82dda8
100755
(executable)
--- a/
sql-edition/servers/VendServer.py
+++ b/
sql-edition/servers/VendServer.py
@@
-4,7
+4,7
@@
USE_DB = 0
import ConfigParser
USE_DB = 0
import ConfigParser
-import sys, os, string, re, pwd, signal
+import sys, os, string, re, pwd, signal
, math
import logging, logging.handlers
from traceback import format_tb
if USE_DB: import pg
import logging, logging.handlers
from traceback import format_tb
if USE_DB: import pg
@@
-26,6
+26,13
@@
Mark Tearle
Nick Bannon
Cameron Patrick
and a collective of hungry alpacas.
Nick Bannon
Cameron Patrick
and a collective of hungry alpacas.
+
+
+
+For a good time call +61 8 6488 3901
+
+
+
"""
GREETING = 'UCC SNACKS'
"""
GREETING = 'UCC SNACKS'
@@
-178,13
+185,16
@@
def center(str):
idlers = []
idler = None
idlers = []
idler = None
+
def setup_idlers(v):
global idlers, idler
idlers = [
def setup_idlers(v):
global idlers, idler
idlers = [
- TrainIdler(v),
StringIdler(v),
StringIdler(v, text=CREDITS),
StringIdler(v),
StringIdler(v, text=CREDITS),
+ StringIdler(v, text=str(math.pi) + " "),
+ StringIdler(v, text=str(math.e) + " "),
GrayIdler(v),
GrayIdler(v),
+ TrainIdler(v),
GrayIdler(v,one="*",zero="-"),
GrayIdler(v,one="/",zero="\\"),
GrayIdler(v,one="X",zero="O"),
GrayIdler(v,one="*",zero="-"),
GrayIdler(v,one="/",zero="\\"),
GrayIdler(v,one="X",zero="O"),
UCC
git Repository :: git.ucc.asn.au