jhbuild r2486 - in trunk: . jhbuild/versioncontrol



Author: fpeters
Date: Sun Nov  9 14:22:01 2008
New Revision: 2486
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2486&view=rev

Log:
* jhbuild/versioncontrol/tarball.py: display expected extraction
directory on tarball extraction failure.



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

Modified: trunk/jhbuild/versioncontrol/tarball.py
==============================================================================
--- trunk/jhbuild/versioncontrol/tarball.py	(original)
+++ trunk/jhbuild/versioncontrol/tarball.py	Sun Nov  9 14:22:01 2008
@@ -189,7 +189,8 @@
             raise FatalError(_('failed to unpack %s') % localfile)
 
         if not os.path.exists(self.srcdir):
-            raise BuildStateError(_('could not unpack tarball'))
+            raise BuildStateError(_('could not unpack tarball (expected %s dir)'
+                        ) % os.path.basename(self.srcdir))
 
         if self.patches:
             self._do_patches(buildscript)



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