mirror of https://github.com/python/cpython.git
Remove "." or "" from front of sys.path (this bit me once).
This commit is contained in:
parent
4e8ef5fcd3
commit
9476a78c1e
|
@ -4,6 +4,9 @@
|
|||
# On stderr, near and total misses are reported.
|
||||
# '-l<flags>' argument adds ls -l<flags> of each file found.
|
||||
|
||||
import sys
|
||||
if sys.path[0] in (".", ""): del sys.path[0]
|
||||
|
||||
import sys, os, string
|
||||
from stat import *
|
||||
|
||||
|
|
Loading…
Reference in New Issue