File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1028,7 +1028,7 @@ def restrict_logging():
10281028 sys .exit (0 )
10291029
10301030 if options .list_stored_testcases :
1031- namepatt = '|' .join (options .names )
1031+ namepatt = '|' .join (n . replace ( '%' , ' %' ) for n in options .names )
10321032 with exit_gracefully_on_error ('failed to retrieve test case data' ,
10331033 printer ):
10341034 filt = options .filter_expr [- 1 ] if options .filter_expr else None
@@ -1050,7 +1050,7 @@ def restrict_logging():
10501050 if options .describe_stored_testcases :
10511051 # Restore logging level
10521052 printer .setLevel (logging .INFO )
1053- namepatt = '|' .join (options .names )
1053+ namepatt = '|' .join (n . replace ( '%' , ' %' ) for n in options .names )
10541054 with exit_gracefully_on_error ('failed to retrieve test case data' ,
10551055 printer ):
10561056 filt = options .filter_expr [- 1 ] if options .filter_expr else None
@@ -1068,7 +1068,7 @@ def restrict_logging():
10681068 sys .exit (0 )
10691069
10701070 if options .performance_compare :
1071- namepatt = '|' .join (options .names )
1071+ namepatt = '|' .join (n . replace ( '%' , ' %' ) for n in options .names )
10721072 with exit_gracefully_on_error ('failed to generate performance report' ,
10731073 printer ):
10741074 filt = [None , None ]
You can’t perform that action at this time.
0 commit comments