Commit d83d34ae authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Py3: Fix handling of empty requests

parent 6ec19bf3
......@@ -92,7 +92,7 @@ def do_mpcdf_push(self, subcmd, opts, *args):
message="Update {0} from {1}".format(package, from_project) if not opts.message else opts.message)
except osc.core.HTTPError as e:
if e.code == 400:
if "The request contains no actions" in
if "The request contains no actions" in mpcdf_common.decode_it(
print("No source changes found, submit request not necessary")
raise e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment