Skip to content

Commit ffb4a5c

Browse files
author
Christos Lamprakos
authored
Fix --inherit-environ issue (#188)
1 parent d61d493 commit ffb4a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyperformance/_benchmark.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _resolve_restricted_opts(opts):
262262
if opt.startswith(FLAG + '='):
263263
idx = i + 1
264264
resolved.append(FLAG)
265-
resolved.append(opt.partition('=')[-2])
265+
resolved.append(opt.partition('=')[-1])
266266
resolved.extend(opts[idx:])
267267
break
268268
elif opt == FLAG:

0 commit comments

Comments
 (0)