mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
copy syntax for python 2.7
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ from docopt import docopt
|
||||
def cleanup_sysargv(argv):
|
||||
|
||||
new = []
|
||||
for arg in argv.copy():
|
||||
for arg in argv[:]:
|
||||
if arg.startswith('-e '):
|
||||
new.append(arg)
|
||||
del argv[argv.index(arg)]
|
||||
|
||||
Reference in New Issue
Block a user