projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab923d
)
msg
author
Bernhard Tittelbach
<xro@realraum.at>
Wed, 16 Sep 2009 13:15:04 +0000
(13:15 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Wed, 16 Sep 2009 13:15:04 +0000
(13:15 +0000)
update-web-status.py
patch
|
blob
|
history
diff --git
a/update-web-status.py
b/update-web-status.py
index
390eb2e
..
d655bc2
100755
(executable)
--- a/
update-web-status.py
+++ b/
update-web-status.py
@@
-114,9
+114,10
@@
def sendXmppMsg(recipients, msg, resource = "torwaechter", addtimestamp = True,
try:
sppoo = subprocess.Popen(sendxmpp_cmd, stdin=subprocess.PIPE, shell=True)
sppoo.communicate(input=msg)
- while ptimeout > 0:
+ timeout_counter=ptimeout
+ while timeout_counter > 0:
time.sleep(pcheckint)
- ptimeout -= pcheckint
+ timeout_counter -= pcheckint
if sppoo.poll():
logging.debug("XMPPmessage sent: '%s'" % msg)
return