Package: tailor
Version: 0.9.5-1
Severity: normal
Tags: patch

Hi,

This patch makes tailor behave less embarassing when
running it on a configfile which features:

 [svn:source]
 repository = file:///home/joostvb/tmp/ssls

(and nothing else about this source)

Without the patch, it exits with:

Bootstrapping '/home/joostvb/tmp/darcs'
Error: Cannot prepare working directory!  -- Exception exceptions.NameError: 
global name 'ConfigurationError' is not defined
Traceback (most recent call last):
  File "/usr/bin/tailor", line 37, in ?
[...]
  File "/usr/lib/python2.3/site-packages/vcpx/repository.py", line 194, in 
_validateConfiguration
    raise ConfigurationError("Must the path within the "
NameError: global name 'ConfigurationError' is not defined

Bye,

Joost

-----------------

--- /usr/lib/python2.3/site-packages/vcpx/repository.py.dist    2005-08-17 
23:46:27.000000000 +0200
+++ /usr/lib/python2.3/site-packages/vcpx/repository.py 2005-08-29 
14:22:07.022701893 +0200
@@ -190,6 +190,8 @@
         self.use_propset = config.get(self.name, 'use-propset', False)
 
     def _validateConfiguration(self):
+        from config import ConfigurationError
+
         if not self.module:
             raise ConfigurationError("Must the path within the "
                                      "Subversion repository")

-----------------


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12.2-athlon-uvt
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tailor depends on:
ii  python                        2.3.5-2    An interactive high-level object-o

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to