You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by di...@apache.org on 2004/12/15 23:05:37 UTC
svn commit: r112030 - /gump/live/python/gump/core/config.py
Author: dims
Date: Wed Dec 15 14:05:35 2004
New Revision: 112030
URL: http://svn.apache.org/viewcvs?view=rev&rev=112030
Log:
adding GUMP_TIMEOUT to live as well.
Modified:
gump/live/python/gump/core/config.py
Modified: gump/live/python/gump/core/config.py
Url: http://svn.apache.org/viewcvs/gump/live/python/gump/core/config.py?view=diff&rev=112030&p1=gump/live/python/gump/core/config.py&r1=112029&p2=gump/live/python/gump/core/config.py&r2=112030
==============================================================================
--- gump/live/python/gump/core/config.py (original)
+++ gump/live/python/gump/core/config.py Wed Dec 15 14:05:35 2004
@@ -70,6 +70,8 @@
UTC_TIME_PRESENTATION_FORMAT='%H:%M:%S (UTC)'
TIMEOUT=60*60 # 60 minutes (in seconds)
+ if os.environ.has_key('GUMP_TIMEOUT'):
+ TIMEOUT = string.atoi(os.environ['GUMP_TIMEOUT'])
class default:
"""Configuration of default settings"""