[node-patches] Change in ovirt-node[master]: app: Fix import

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Aug 29 14:29:36 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: app: Fix import
......................................................................

app: Fix import

Change-Id: I43162d2cdc87f3696b906dcc0f0e11b439a061d4
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/app.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/96/18696/1

diff --git a/src/ovirt/node/app.py b/src/ovirt/node/app.py
index 25f54e4..fc5563e 100644
--- a/src/ovirt/node/app.py
+++ b/src/ovirt/node/app.py
@@ -27,6 +27,7 @@
 import logging
 import logging.config
 import os.path
+import sys
 
 """
 Representing the whole application (not just the TUI).
@@ -303,7 +304,6 @@
                 self.logger.error("The TUI cannot be used in rescue mode. "
                                   "Please reboot without rescue to "
                                   "configure/install.")
-                import sys
                 sys.exit(0)
             self.ui.run()
         except Exception as e:


-- 
To view, visit http://gerrit.ovirt.org/18696
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I43162d2cdc87f3696b906dcc0f0e11b439a061d4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list