Package: load-dirs-common
Version: 1.0.22
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A TypeError is raised when calling the addTag method of a wc object (in
tla_wc.py).  This is from trying to concatenate a list and a string.
Attached patch fixes the problem.

James
- -- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (499, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-debil-2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iEYEARECAAYFAkKeYvcACgkQDb3UpmEybUAtHwCbBLCCvVRPcXxbSpbAAaKB4G65
MF0AoJN9g1O7atDzbMRLn12jX6YAdBTC
=7lDK
-----END PGP SIGNATURE-----
diff -ur tla-load-dirs-1.0.22.orig/tla_support/tla_wc.py 
tla-load-dirs-1.0.22/tla_support/tla_wc.py
--- tla-load-dirs-1.0.22.orig/tla_support/tla_wc.py     2005-05-31 
12:14:57.000000000 -0400
+++ tla-load-dirs-1.0.22/tla_support/tla_wc.py  2005-06-01 21:25:16.000000000 
-0400
@@ -68,7 +68,7 @@
                 raise
         file = self.slashstrip(file)
         util.chdircmd(self.wcpath, util.safeexec, tlacmd,
-                      cmd().add + file)
+                      cmd().add.append(file))
 
     def movetag(self, src, dest):
         if self.verb:

Reply via email to