[Python-modules-team] Bug#620551: any resolution?

Jakub Wilk jwilk at debian.org
Tue Jan 22 18:15:52 UTC 2013


* Yaroslav Halchenko <debian at onerussian.com>, 2013-01-22, 13:04:
>>>if __name__ == "__main__":
>>>        # add the directory with ppworker.py to the path
>>>-        sys.path.append(os.path.dirname(__file__))
>>Removing this line would be still needed.
>yeah -- although -- shouldn't it be  benign since it just would add 
>once again the proper path, e.g.
>/usr/lib/pymodules/python2.7
>?

You're right; it's harmless.

-- 
Jakub Wilk



More information about the Python-modules-team mailing list