Michael Pasternak has uploaded a new change for review.

Change subject: cli: resolve dependency resolution at build
......................................................................

cli: resolve dependency resolution at build

Change-Id: Ib82564bb547b0cc48081b8f2fc6c64b993644b21
Signed-off-by: Michael pasternak <[email protected]>
---
M src/cli/context.py
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/43/14343/1

diff --git a/src/cli/context.py b/src/cli/context.py
index cbf12d3..fe076e9 100644
--- a/src/cli/context.py
+++ b/src/cli/context.py
@@ -35,8 +35,6 @@
 from cli import platform
 from cli.executionmode import ExecutionMode
 
-from ovirtsdk.infrastructure.errors import \
-    RequestError, ConnectionError, AmbiguousQueryError
 
 class ExecutionContext(object):
     """A CLI execution context."""
@@ -211,6 +209,9 @@
         return err_str
 
     def _handle_exception(self, e):
+        from ovirtsdk.infrastructure.errors import \
+            RequestError, ConnectionError, AmbiguousQueryError
+
         """Handle an exception. Can be overruled in a subclass."""
         if isinstance(e, KeyboardInterrupt):
             self.status = self.INTERRUPTED


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib82564bb547b0cc48081b8f2fc6c64b993644b21
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to