Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467066 - gnome-extra/gnome-activity-journal-0.8.0-r3 - /usr/bin/gnome-activity-journal should have Python 2 shebang
Summary: gnome-extra/gnome-activity-journal-0.8.0-r3 - /usr/bin/gnome-activity-journal...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: Normal normal
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 10:45 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2013-04-25 07:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2013-04-24 10:45:51 UTC
/usr/bin/gnome-activity-journal should have Python 2 shebang (instead of current generic '#! /usr/bin/env python') to avoid SyntaxError on systems, whereon Python 3 is set as main active version of Python.

$ /usr/bin/gnome-activity-journal
  File "/usr/bin/gnome-activity-journal", line 59                                                                                                             
    print "Using the \"%s\" module from %s" % (module, os.path.abspath(m[1]))                                                                                
                                          ^
SyntaxError: invalid syntax
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-04-25 07:10:04 UTC
+*gnome-activity-journal-0.8.0-r4 (25 Apr 2013)
+
+  25 Apr 2013; Justin Lecher <jlec@gentoo.org>
+  +gnome-activity-journal-0.8.0-r4.ebuild:
+  Fix shebang for py implementation, #467066
+