Learn more about these different git repos.
Other Git URLs
ade0663
@@ -1986,7 +1986,7 @@
value = True
elif str(value).lower() in ["false"]:
- elif str(value).isnumeric():
+ elif str(value).isdigit():
value = int(value)
return value
Basically python2 does not have the .isnumeric()method so using it will not work.
.isnumeric()
This fixes updating the project's options via the API when pagure is deployed with python2.
Fixes https://pagure.io/pagure/issue/4448
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
:thumbsup:
Thanks for the review! :)
Pull-Request has been merged by pingou
Basically python2 does not have the
.isnumeric()
method so using itwill not work.
This fixes updating the project's options via the API when pagure is
deployed with python2.
Fixes https://pagure.io/pagure/issue/4448
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr