mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
ignore literal . in sys.path (happens with IronPython)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import sys
|
||||
import os.path
|
||||
for x in sys.path:
|
||||
if x != os.path.dirname(sys.argv [0]): sys.stdout.write(x+chr(10))
|
||||
if x != os.path.dirname(sys.argv [0]) and x != '.': sys.stdout.write(x+chr(10))
|
||||
Reference in New Issue
Block a user