Package: isoquery
Version: 1.1-1
Severity: normal
Tags: patch
,----
| Setting up isoquery (1.1-1) ...
| Processing triggers for python-support ...
| Compiling /usr/lib/pymodules/python2.4/isoquery/cmdline_parser.py ...
| File "/usr/lib/pymodules/python2.4/isoquery/cmdline_parser.py", line 27
| class CmdlineParser():
| ^
| SyntaxError: invalid syntax
|
| Compiling /usr/lib/pymodules/python2.4/isoquery/xmlfile.py ...
| File "/usr/lib/pymodules/python2.4/isoquery/xmlfile.py", line 27
| class XMLFile():
| ^
| SyntaxError: invalid syntax
`----
Trivial patch:
--- isoquery/cmdline_parser.py.~1~ 2010-06-30 21:47:30.000000000 +0200
+++ isoquery/cmdline_parser.py 2010-07-31 11:25:13.000000000 +0200
@@ -24,7 +24,7 @@
translation = gettext.translation('isoquery', fallback=True)
_ = translation.ugettext
-class CmdlineParser():
+class CmdlineParser:
def __init__(self):
# Set up Parser
usage = _("Usage: %prog [options] [ISO codes]")
--- isoquery/xmlfile.py.~1~ 2010-06-30 21:47:30.000000000 +0200
+++ isoquery/xmlfile.py 2010-07-31 11:22:22.000000000 +0200
@@ -24,7 +24,7 @@
translation = gettext.translation('isoquery', fallback=True)
_ = translation.ugettext
-class XMLFile():
+class XMLFile:
"""Generic class to handle common operations on XML files"""
def __init__(self, options):
self.xmlfile = options.xmlfile
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages isoquery depends on:
ii python 2.6.5-11 interactive high-level object-orie
ii python-lxml 2.2.6-1 pythonic binding for the libxml2 a
ii python-support 1.0.9 automated rebuilding support for P
Versions of packages isoquery recommends:
ii iso-codes 3.18-1 ISO language, territory, currency,
isoquery suggests no packages.
-- no debconf information
Cheers,
--
Cristian
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]