Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 465506

Summary: app-text/pastebinit-1.3.1 with system python3 - Syntax Error: except configobj.ConfigObjError, e:
Product: Gentoo Linux Reporter: Peter Ulrich <ad_grobi>
Component: Current packagesAssignee: Christoph Mende (RETIRED) <angelos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Peter Ulrich 2013-04-11 11:36:04 UTC
Created attachment 345212 [details]
emerge --info

app-text/pastebinit-1.3.1
does not work (it emerges) but then fails.

[ebuild   R   ~] app-text/pastebinit-1.3.1  USE="crypt" PYTHON_TARGETS="python2_7 -python2_6" 0 kB

>>>>>>>>>>>>>>>>>>>>>>>>
Failure:
########################
# echo a | pastebinit
  File "/usr/bin/pastebinit", line 77
    except configobj.ConfigObjError, e:
                                   ^
SyntaxError: invalid syntax
<<<<<<<<<<<<<<<<<<<<<<<<

>>>>>>>>>>>>>>>>>>>>>>>>
Has it something to do with python versions maybe?
########################
#eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
<<<<<<<<<<<<<<<<<<<<<<<<
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-11 12:38:27 UTC
Needs to have its shebangs fixed.
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2013-04-11 14:01:06 UTC
Thanks, fixed in -r1.