New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "TypeError: must be real number, not TemplatedDictionary" when %2F
in base path
#639
Comments
Hmm, simple reproducer:
|
Hmm... that expansion is there because of |
I think we can put the removal of the But first I think we should detect if the expansion makes at least some sense (e.g. by checking for def expand_config(string, config):
if '%(' in string:
warn_about_obsoleted_syntax
return string % config
return config |
Sweet. Thanks everyone. |
FTR, pre-release builds are in |
Error "TypeError: must be real number, not TemplatedDictionary" when
%2F
in base pathFor context, we create custom mock environments for our jenkins builds and for some reason, one of our nodes started creating workspace directories with "%2F" in the name. It looks like mock is trying to do variable substitution for the values, which gets confused with
%2F
Output of
rpm -q mock
mock-2.4-1.el7.noarch
Steps to reproduce issue
%2F
in itmock --configdir=$CONFIGDIR --shell
site-defaults.cfg:
You'll get an error along the lines of
The text was updated successfully, but these errors were encountered: