[jhbuild] display checkoutroot location on creation or access failures



commit 55ebc7276534a36d43c4f4294d562e9fd8640a84
Author: Frederic Peters <fpeters 0d be>
Date:   Fri May 1 11:16:59 2009 +0200

    display checkoutroot location on creation or access failures
---
 jhbuild/frontends/buildscript.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/jhbuild/frontends/buildscript.py b/jhbuild/frontends/buildscript.py
index f63f4e0..1995198 100644
--- a/jhbuild/frontends/buildscript.py
+++ b/jhbuild/frontends/buildscript.py
@@ -37,9 +37,10 @@ class BuildScript:
             try:
                 os.makedirs(self.config.checkoutroot)
             except OSError:
-                raise FatalError(_('checkout root can not be created'))
+                raise FatalError(
+                        _('checkout root (%s) can not be created') % self.config.checkoutroot)
         if not os.access(self.config.checkoutroot, os.R_OK|os.W_OK|os.X_OK):
-            raise FatalError(_('checkout root must be writable'))
+            raise FatalError(_('checkout root (%s) must be writable') % self.config.checkoutroot)
 
         packagedbdir = os.path.join(self.config.prefix, 'share', 'jhbuild')
         try:



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