Nir Soffer has uploaded a new change for review.

Change subject: executor: Move related classes together
......................................................................

executor: Move related classes together

_TaskDiscarded and _ExecutorTask are related and should be near each
other.

Change-Id: I9bdb0ff0b3fe82bc0ddba2f87c45a0d346036ab4
Signed-off-by: Nir Soffer <[email protected]>
---
M lib/vdsm/executor.py
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/43/30743/1

diff --git a/lib/vdsm/executor.py b/lib/vdsm/executor.py
index 9e2bb5f..547f8b4 100644
--- a/lib/vdsm/executor.py
+++ b/lib/vdsm/executor.py
@@ -141,6 +141,10 @@
             return self._tasks.get()
 
 
+class _TaskDiscarded(Exception):
+    pass
+
+
 class _ExecutorTask(object):
 
     _log = logging.getLogger('Executor.Task')
@@ -209,7 +213,3 @@
 
     def clear(self):
         self._tasks.clear()
-
-
-class _TaskDiscarded(Exception):
-    pass


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9bdb0ff0b3fe82bc0ddba2f87c45a0d346036ab4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to