Package: python-netio230a
Version: 1.0.1-2
Severity: normal
Tags: patch

Throws errors during installation on machines that still have python2.4
installed:

Unpacking python-netio230a (from .../python-netio230a_1.0.1-2_all.deb) ...
Selecting previously deselected package netio230a-gui.
Unpacking netio230a-gui (from .../netio230a-gui_1.0.1-2_all.deb) ...
Processing triggers for man-db ...
Setting up python-netio230a (1.0.1-2) ...
Setting up netio230a-gui (1.0.1-2) ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.4/netio230a.py ...
  File "/usr/lib/pymodules/python2.4/netio230a.py", line 175
    self.log_file.write("%s %s%s" % (datetime.now().isoformat(), message, ("\n" 
if line_break else "" )) )
                                                                                
 ^
SyntaxError: invalid syntax


I recommend you either set XS-Python-Version: >= 2.5 in debian/control or
$ echo 2.5- > debian/pyversions

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127

Attachment: signature.asc
Description: Digital signature

Reply via email to