allow Falsy values too

This commit is contained in:
Yu Ming Zhu 2021-09-26 03:30:31 +00:00 committed by Tomas Kopecek
parent af0c487a85
commit f8464a1f32

View file

@ -11875,7 +11875,7 @@ class RootExports(object):
# Backwards-compatible with the removed options
for k, v in kwargs.items():
if k in ('stops', 'jumps'):
if v is not None:
if v:
raise koji.ParameterError("%s option has been removed since 1.26" % k)
else:
raise koji.ParameterError(