You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is wrong with the merging of invocation defaults and argument values: specifying --user-filter ".*@ensemble.com" produces:
2017-12-08 16:11:59 27327 CRITICAL main - Bad regular expression in user filter: ['.*@ensemble.com'] reason: cannot concatenate 'str' and 'list' objects
The text was updated successfully, but these errors were encountered:
adobeDan
changed the title
Can't specify --user-filter or other string-valued (default empty) args
Can't specify --user-filter or other string-valued args
Dec 9, 2017
Turns out I misunderstood the use of nargs=1 in argparse: the default behavior is to consume exactly one value; if you specify nargs=1 then you get the single argument as a list containing the value rather than the value itself.
(found in v2.3rc2)
Something is wrong with the merging of invocation defaults and argument values: specifying
--user-filter ".*@ensemble.com"
produces:The text was updated successfully, but these errors were encountered: