Public bug reported:

With Python 2.6 installed, there's a failure in

Compiling /usr/lib/pymodules/python2.6/linaro_image_tools/hwpack/builder.py ...
SyntaxError: ('invalid syntax', 
('/usr/lib/pymodules/python2.6/linaro_image_tools/hwpack/builder.py', 137, 29, 
'                with fetcher, PackageUnpacker() as package_unpacker:\n'))

that's because in 2.6 you could only have one with_item. In 2.7,

   with_stmt ::= "with" with_item ("," with_item)* ":" suite
   with_item ::= expression ["as" target]

in 2.6,

   with_stmt ::= "with" expression ["as" target] ":" suite

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-linaro-image-tools 2011.07-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic-pae 3.0.1
Uname: Linux 3.0.0-8-generic-pae i686
Architecture: i386
Date: Mon Aug 22 11:01:55 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate i386 
(20100928.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linaro-image-tools
UpgradeStatus: Upgraded to oneiric on 2011-04-20 (124 days ago)

** Affects: linaro-image-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/830969

Title:
  invalid syntax for python2.6 in linaro_image_tools.hwpack.builder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linaro-image-tools/+bug/830969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to