gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: jakarta-gump/python/gump __init__.py
Date Fri, 02 May 2003 01:31:10 GMT
rubys       2003/05/01 18:31:10

  Modified:    python/gump __init__.py
  Log:
  Respect .timestamp file
  
  Revision  Changes    Path
  1.6       +8 -3      jakarta-gump/python/gump/__init__.py
  
  Index: __init__.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/__init__.py,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- __init__.py	28 Apr 2003 23:43:52 -0000	1.5
  +++ __init__.py	2 May 2003 01:31:10 -0000	1.6
  @@ -159,6 +159,11 @@
   # elements of the GOM should extend GumpBase or a subclass of GumpBase.
   ###############################################################################
   
  +timestamp=os.path.join(dir.base,'.timestamp')
  +if os.path.exists(timestamp):
  +  mtime=time.localtime(os.path.getmtime(timestamp))
  +  default.date = time.strftime('%Y%m%d',mtime)
  +
   class GumpBase(object):
     """Base class for the entire Gump object model.
   
  
  
  

Mime
View raw message