[Commits] (jeffrey) Commit all at once.

commits at osafoundation.org commits at osafoundation.org
Mon Mar 8 09:30:16 PST 2004


Commit by: jeffrey
Modified files:
osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py 1.1 1.2

Log message:
Commit all at once.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py.diff?r1=text&tr1=1.1&r2=text&tr2=1.2

Index: osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py:1.1 osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py:1.2
--- osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py:1.1	Mon Mar  8 08:42:53 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/Importer.py	Mon Mar  8 09:29:45 2004
@@ -1,7 +1,7 @@
 """Base class for Chandler Importer objects."""
 
-__revision__  = "$Revision: 1.1 $"
-__date__      = "$Date: 2004/03/08 16:42:53 $"
+__revision__  = "$Revision: 1.2 $"
+__date__      = "$Date: 2004/03/08 17:29:45 $"
 __copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -95,11 +95,10 @@
         for object in self.processObjects(f):
             self.massageObject(object)
             objects=objects + 1
-            try:
-                Globals.repository.commit()
-            except:
-                raise CreationError, \
-                      ("Error commiting to repository", self.lineNumber)
+        try:
+            Globals.repository.commit()
+        except:
+            raise CreationError, "Error commiting to repository"
         f.close()
         return objects
 



More information about the Commits mailing list