jhbuild r2675 - in trunk: . jhbuild/versioncontrol



Author: fpeters
Date: Tue Jan 27 23:36:02 2009
New Revision: 2675
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2675&view=rev

Log:
* jhbuild/versioncontrol/cvs.py: revert the exception change
accidentally commited in last commit.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/versioncontrol/cvs.py

Modified: trunk/jhbuild/versioncontrol/cvs.py
==============================================================================
--- trunk/jhbuild/versioncontrol/cvs.py	(original)
+++ trunk/jhbuild/versioncontrol/cvs.py	Tue Jan 27 23:36:02 2009
@@ -294,7 +294,7 @@
 
     def checkout(self, buildscript):
         if not inpath('cvs', os.environ['PATH'].split(os.pathsep)):
-            raise RuntimeError(_('%s not found') % 'cvs')
+            raise CommandError(_('%s not found') % 'cvs')
         if self.checkout_mode in ('clobber', 'export'):
             self._wipedir(buildscript)
             if self.checkout_mode == 'clobber':



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]