gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r112030 - /gump/live/python/gump/core/config.py
Date Wed, 15 Dec 2004 22:05:37 GMT
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"""

Mime
View raw message