Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23624 - [usbutils] lsusb.py has the wrong python shebang

Attached to Project: Arch Linux
Opened by Serge Levkov (slev) - Thursday, 07 April 2011, 07:22 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 09 April 2011, 20:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Error message:
"File "/usr/bin/lsusb.py", line 415
print "Warning: " + fmtstr % args(lst2[idx])
^
SyntaxError: invalid syntax"

Additional info:
* usbutils 002-1
* Linux 2.6.37-ARCH #1 SMP PREEMPT Fri Mar 25 15:10:00 CET 2011 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux


I fix that replace
#!/usr/bin/env python
by
#!/usr/bin/env python2
But properly be correct syntax?

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 09 April 2011, 20:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  002-2

Loading...