>From Douglas Schilling Landgraf <[email protected]>: Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: rhn_model: fix pep8 complains ...................................................................... rhn_model: fix pep8 complains Change-Id: Ie4fb03f3e5c798653ef42883231f91431c4fbf31 Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M src/ovirt/node/setup/rhn/rhn_model.py 1 file changed, 16 insertions(+), 20 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/93/70393/1 diff --git a/src/ovirt/node/setup/rhn/rhn_model.py b/src/ovirt/node/setup/rhn/rhn_model.py index c12b8c0..c0974d4 100755 --- a/src/ovirt/node/setup/rhn/rhn_model.py +++ b/src/ovirt/node/setup/rhn/rhn_model.py @@ -520,40 +520,36 @@ if cfg["activationkey"]: if not cfg["org"]: del tx[0] - tx.extend([RaiseError( - "Registration to Satellite " - "6 with activation key requires " - "an organization to be set")]) + tx.extend([RaiseError("Registration to Satellite " + "6 with activation key requires" + " an organization to be set")]) return tx if cfg["environment"]: del tx[0] - tx.extend([RaiseError( - "Registration to Satellite 6 with " - "activation key do not allow " - "environments to be specified")]) + tx.extend([RaiseError("Registration to Satellite 6 " + "with activation key do not " + "allow environments to be" + "specified")]) return tx if cfg["username"] or password: del tx[0] - tx.extend([RaiseError( - "Registration to Satellite 6 with an " - "activation key do not require " - "credentials")]) + tx.extend([RaiseError("Registration to Satellite 6 " + "with an activation key do not" + " require credentials")]) return tx else: if not cfg["org"] or not cfg["environment"]: del tx[0] - tx.extend([RaiseError( - "Registration to Satellite 6 requires " - "an organization and environment to " - "be set")]) + tx.extend([RaiseError("Registration to Satellite 6 " + "requires an organization and" + "environment to be set")]) return tx if not cfg["username"] or not password: del tx[0] - tx.extend([RaiseError( - "Registration to Satellite 6 without " - "an activation key requires user " - "credentials")]) + tx.extend([RaiseError("Registration to Satellite 6 " + "without an activation key " + "requires user credentials")]) return tx if cfg["proxy"]: -- To view, visit https://gerrit.ovirt.org/70393 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie4fb03f3e5c798653ef42883231f91431c4fbf31 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: ovirt-3.6 Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
