Package: load-dirs-common
Version: 1.0.29
Severity: serious
Tags: patch

Hi,

There is a typo in tla_support/commandver.py.
Here is a patch:

-    elif util.getstdoutsafeexec(tlacmd, ['-v'])[0].find('This is svk') != -1:
+    elif util.getstdoutsafeexec(tlacmd, ['-V'])[0].find('This is svk') != -1:

This bug is serious because it makes unusable tla-buildpackage
package. Indeed we have this tla version in unstable:

$ tla -V
tla--atai--1.3--patch-72, built on Aug  6 2006

Then all tla version tests in tla_support/commandver.py are done
and it fails with the typo in svk test. And when you use tbp-initarchive 
(in tla-buildpackage), it fails:

$ tbp-initarchive [EMAIL PROTECTED]  ~/tla/debian ~/tree/debian

[...]
usage: tla command ...
  (try 'tla -h')
Traceback (most recent call last):
  File "/usr/bin/tbp-initarchive", line 69, in ?
    extcmd.qrun('tla %s tagline' % cmd().tagging_method)
  File "/usr/lib/python2.3/site-packages/tla_support/commandver.py", line 137, 
in cmd
    gettlasyntax()
  File "/usr/lib/python2.3/site-packages/tla_support/commandver.py", line 69, 
in gettlasyntax
    elif util.getstdoutsafeexec(tlacmd, ['-v'])[0].find('This is svk') != -1:


Regards,
--
Gregory COLPART <[EMAIL PROTECTED]>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages load-dirs-common depends on:
ii  python2.3                     2.3.5-15   An interactive high-level object-o

load-dirs-common recommends no packages.

-- no debconf information


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

Reply via email to