You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/04/12 21:03:57 UTC

cvs commit: gump/python/gump __init__.py config.py

ajack       2004/04/12 12:03:57

  Modified:    python/gump/model workspace.py
               python/gump __init__.py config.py
  Log:
  Don't show local timezone when in UTC.
  
  Revision  Changes    Path
  1.45      +2 -2      gump/python/gump/model/workspace.py
  
  Index: workspace.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/model/workspace.py,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- workspace.py	11 Apr 2004 15:18:43 -0000	1.44
  +++ workspace.py	12 Apr 2004 19:03:56 -0000	1.45
  @@ -88,7 +88,7 @@
                   
           # :TODO: Ensure no clock ticks between these two,
           # i.e. make one.
  -        self.startDateTimeUtc=time.strftime(setting.datetimeformat, \
  +        self.startDateTimeUtc=time.strftime(setting.utcdatetimeformat, \
                                               time.gmtime())
           self.startDateTime=time.strftime(setting.datetimeformat, \
                                               time.localtime())
  @@ -104,7 +104,7 @@
           
           # :TODO: Ensure no clock ticks between these two,
           # i.e. make one.
  -        self.endDateTimeUtc=time.strftime(setting.datetimeformat, \
  +        self.endDateTimeUtc=time.strftime(setting.utcdatetimeformat, \
                                               time.gmtime())
           self.endDateTime=time.strftime(setting.datetimeformat, \
                                               time.localtime())
  
  
  
  1.22      +4 -5      gump/python/gump/__init__.py
  
  Index: __init__.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/__init__.py,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- __init__.py	12 Apr 2004 18:57:37 -0000	1.21
  +++ __init__.py	12 Apr 2004 19:03:56 -0000	1.22
  @@ -72,9 +72,8 @@
   # Either python-2.3 or http://www.red-dove.com/python_logging.html
   import logging
   
  -
   # tell Python what modules make up the gump package
  -__all__ = ["config"]
  +# __all__ = ["config"]
   
   # base gump logger
   log = logging.getLogger(__name__)
  
  
  
  1.20      +2 -0      gump/python/gump/config.py
  
  Index: config.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/config.py,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- config.py	5 Apr 2004 15:53:10 -0000	1.19
  +++ config.py	12 Apr 2004 19:03:56 -0000	1.20
  @@ -93,6 +93,8 @@
       
       datetimeformat='%a, %d %b %Y %H:%M:%S (%Z)'
       timeformat='%H:%M:%S (%Z)'
  +    utcdatetimeformat='%a, %d %b %Y %H:%M:%S (UTC)'
  +    utctimeformat='%H:%M:%S (UTC)'
       
       timeout=60*60 # 60 minutes (in seconds)
       timeoutCommand=0
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org