[Commits] (vajda) fixed bug 2904

commits at osafoundation.org commits at osafoundation.org
Thu Apr 28 00:42:20 PDT 2005


Commit by: vajda
Modified files:
chandler/repository/tests/TestPerfWithRSS.py 1.27 1.28

Log message:
fixed bug 2904

Bugzilla links:
http://bugzilla.osafoundation.org/show_bug.cgi?id=2904

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/repository/tests/TestPerfWithRSS.py.diff?r1=text&tr1=1.27&r2=text&tr2=1.28

Index: chandler/repository/tests/TestPerfWithRSS.py
diff -u chandler/repository/tests/TestPerfWithRSS.py:1.27 chandler/repository/tests/TestPerfWithRSS.py:1.28
--- chandler/repository/tests/TestPerfWithRSS.py:1.27	Thu Feb 17 16:12:15 2005
+++ chandler/repository/tests/TestPerfWithRSS.py	Thu Apr 28 00:42:19 2005
@@ -2,8 +2,8 @@
 Simple Performance tests for Chandler repository
 """
 
-__revision__  = "$Revision: 1.27 $"
-__date__      = "$Date: 2005/02/18 00:12:15 $"
+__revision__  = "$Revision: 1.28 $"
+__date__      = "$Date: 2005/04/28 07:42:19 $"
 __copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -143,7 +143,11 @@
 
     def tearDown(self):
         self.rep.close()
-        self.rep.delete()
+        if os.path.exists(self.rep.dbHome):
+            self.rep.delete()
+        else:
+            self.rep.logger.warn("no repository at %s", self.rep.dbHome)
+        
 
 if __name__ == "__main__":
 #    import hotshot



More information about the Commits mailing list