[Extras-cauldron-commits] r143 - trunk/buildme/buildlib

ed_ at garage.maemo.org ed_ at garage.maemo.org
Sun Sep 6 13:26:31 EEST 2009


Author: ed_
Date: 2009-09-06 13:26:29 +0300 (Sun, 06 Sep 2009)
New Revision: 143

Modified:
   trunk/buildme/buildlib/changes.py
Log:
catched ChangeFileException while verifying .changes

Modified: trunk/buildme/buildlib/changes.py
===================================================================
--- trunk/buildme/buildlib/changes.py	2009-09-06 10:21:43 UTC (rev 142)
+++ trunk/buildme/buildlib/changes.py	2009-09-06 10:26:29 UTC (rev 143)
@@ -79,9 +79,13 @@
 
         if not directory:
             directory = self.dir
+        
+        try:
+            ChangeFile.verify(self, directory)
+        except ChangeFileException, exobj:
+            raise ChangesException("Changes verification of '%s' failed. Error: %s" % \
+                ((os.path.basename(self.fname), str(exobj)))
 
-        ChangeFile.verify(self, directory)
-
         # Check gpg signature if file is signed
         if self.signed:
             self._logger.debug("'%s' is signed, checking" % self.fname)



More information about the Extras-cauldron-commits mailing list