[node-patches] Change in ovirt-node[master]: rhn: Fix import
fabiand at redhat.com
fabiand at redhat.com
Thu Sep 3 07:01:56 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: rhn: Fix import
......................................................................
rhn: Fix import
Change-Id: Iabf2ca64861f6f7922424067adb74ca436d6fd6b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1259499
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M plugins/rhn_autoinstall.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/94/45694/1
diff --git a/plugins/rhn_autoinstall.py b/plugins/rhn_autoinstall.py
index e6821cd..9a902af 100644
--- a/plugins/rhn_autoinstall.py
+++ b/plugins/rhn_autoinstall.py
@@ -24,7 +24,7 @@
from ovirt.node.setup.rhn import rhn_model
import ovirtnode.ovirtfunctions as _functions
from ovirt.node.plugins import Changeset
-import system
+import sys
RHSM_CONF = "/etc/rhsm/rhsm.conf"
SYSTEMID = "/etc/sysconfig/rhn/systemid"
@@ -76,7 +76,7 @@
if cfg["username"] and cfg["activationkey"]:
print ("Activationkey and username should not be specified together "
"not doing anything")
- system.exit(2)
+ sys.exit(2)
if cfg['username'] and rhn_password or cfg['activationkey']:
tx = rhn.transaction(password=rhn_password, \
proxypass=rhn_proxypassword)
--
To view, visit https://gerrit.ovirt.org/45694
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabf2ca64861f6f7922424067adb74ca436d6fd6b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list