gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: gump/python/gump/output statsdb.py
Date Thu, 01 Apr 2004 23:48:10 GMT
rubys       2004/04/01 15:48:10

  Modified:    python/gump/output statsdb.py
  Log:
  Apparently not all DBM-sytle database interfaces support 'sync'
  
  Revision  Changes    Path
  1.20      +1 -1      gump/python/gump/output/statsdb.py
  
  Index: statsdb.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/output/statsdb.py,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- statsdb.py	28 Mar 2004 22:01:45 -0000	1.19
  +++ statsdb.py	1 Apr 2004 23:48:10 -0000	1.20
  @@ -303,7 +303,7 @@
                   self.putProjectStats(ps) 
                   
       def sync(self):
  -        if not os.name == 'dos' and not os.name == 'nt':    
  +        if hasattr(self.db, 'sync'):
               self.db.sync()
                   
   class WorkspaceStatisticsGuru:                        
  
  
  

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


Mime
View raw message