[Python-apps-team] Bug#595614: pykaraoke: assumes that non-Linux == OS X

Jakub Wilk jwilk at debian.org
Sun Sep 5 11:30:54 UTC 2010


Source: pykaraoke
Version: 0.7.3-1
Severity: normal

I found the following “gem” in pykenv.py:

if os.name == "posix":
     (uname, host, release, version, machine) = os.uname()
     if host == "gp2x":
         env = ENV_GP2X
     elif (uname.lower()[:5] == "linux"):
         env = ENV_LINUX
     else:
         env = ENV_OSX
else:
     env = ENV_WINDOWS

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20100905/5f954a6b/attachment-0001.pgp>


More information about the Python-apps-team mailing list