dstat should use Python 2

Bug #1171089 reported by Syohei Yoshida
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dstat (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

dstat does not work with Python3. So it should use Python 2.
But shebang of dstat is '#!/usr/bin/env python', dstat may use Python3,
if user use python3 as default or install python3 to /usr/local/bin.

I think shabang of dstat should be fixed to '/usr/bin/python2' or '/usr/bin/python2.7'.

Revision history for this message
Julian Taylor (jtaylor) wrote :

you should never change python to python3, thats can break a lot of things.

though packaged programs should indeed use the /usr/bin/python shebang with only a few exceptions
a rebuild against a newer dh_python2 should fix the issue

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dstat - 0.7.2-3build1

---------------
dstat (0.7.2-3build1) raring; urgency=low

  * no-change rebuild with newer dh_python2 to fix shebang (LP: #1171089)
 -- Julian Taylor <email address hidden> Sun, 21 Apr 2013 12:34:38 +0200

Changed in dstat (Ubuntu):
status: New → 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.