Syntax errors in python-dispatch

Bug #342916 reported by Josh Lee
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ruledispatch (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Check this shit out:

Processing triggers for python-support ...
Compiling /var/lib/python-support/python2.6/dispatch/__init__.py ...
SyntaxError: ('invalid syntax', ('/var/lib/python-support/python2.6/dispatch/__init__.py', 98, 6, 'def as(*decorators):\n'))

Compiling /var/lib/python-support/python2.6/dispatch/predicates.py ...
SyntaxError: ('invalid syntax', ('/var/lib/python-support/python2.6/dispatch/predicates.py', 239, 7, ' [as(classmethod)]\n'))

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: python-dispatch None [modified: /var/lib/dpkg/info/python-dispatch.list]
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ruledispatch
Uname: Linux 2.6.28-9-generic i686
UnreportableReason: This is not a genuine Ubuntu package

Related branches

Revision history for this message
jan2ary (jan2ary) wrote :

I have this error to when upgrading with apt-get upgrade on Jaunty beta.

Revision history for this message
Mattias Eriksson (snaggen) wrote :

'as' is a keyword now i guess which causes this clash....

Josh Lee (jleedev)
Changed in ruledispatch (Ubuntu):
status: New → Confirmed
James Westby (james-w)
Changed in ruledispatch (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-9.04
status: Confirmed → Triaged
Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :
Changed in ruledispatch (Ubuntu):
assignee: nobody → Alessio Treglia (quadrispro)
status: Triaged → In Progress
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Looks good, uploaded.

Changed in ruledispatch (Ubuntu):
assignee: Alessio Treglia (quadrispro) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruledispatch - 0.5a.svn20080510-3ubuntu2

---------------
ruledispatch (0.5a.svn20080510-3ubuntu2) jaunty; urgency=low

  * Renamed dispatch.as to dispatch.dispatch_as because 'as' is python
    keyword (LP: #342916).

 -- Krzysztof Klimonda <email address hidden> Mon, 20 Apr 2009 22:02:25 +0200

Changed in ruledispatch (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.