# HG changeset patch # User Goffi # Date 1554927329 -7200 # Node ID d9491cb817268f6c6f474d71cd264b27e1c453f5 # Parent 5bba8953061e32f37f58055f8b9db363836d157e jp (common): `publish` is now a boolean diff -r 5bba8953061e -r d9491cb81726 sat_frontends/jp/common.py --- a/sat_frontends/jp/common.py Wed Apr 10 21:07:47 2019 +0200 +++ b/sat_frontends/jp/common.py Wed Apr 10 22:15:29 2019 +0200 @@ -270,7 +270,7 @@ ) self.host.quit(C.EXIT_DATA_ERROR) - if self.use_metadata and not C.bool(metadata.get("publish", "true")): + if self.use_metadata and not metadata.get("publish", True): self.disp( u'Publication blocked by "publish" key in metadata, cancelling edition.\n\n' + "temporary file path:\t{content_path}\nmetadata file path:\t{meta_path}".format(