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
grandfather clock
[uccvend-vendserver.git]
/
sql-edition
/
servers
/
Idler.py
diff --git
a/sql-edition/servers/Idler.py
b/sql-edition/servers/Idler.py
index
2670b51
..
89783e3
100755
(executable)
--- a/
sql-edition/servers/Idler.py
+++ b/
sql-edition/servers/Idler.py
@@
-248,10
+248,10
@@
class FortuneIdler(StringIdler):
return 20
class PipeIdler(StringIdler):
return 20
class PipeIdler(StringIdler):
- def __init__(self, v, command):
+ def __init__(self, v, command
, args
):
text = "I ate my cookie...."
if os.access(command,os.F_OK|os.X_OK):
text = "I ate my cookie...."
if os.access(command,os.F_OK|os.X_OK):
- (stdout, stdin) = popen2.popen2(command)
+ (stdout, stdin) = popen2.popen2(command
+' '+args
)
text = string.join(stdout.readlines())
stdout.close()
stdin.close()
text = string.join(stdout.readlines())
stdout.close()
stdin.close()
UCC
git Repository :: git.ucc.asn.au