David Caro has uploaded a new change for review.

Change subject: No need to use OrderedDict
......................................................................

No need to use OrderedDict

- Theres actually no need to use OrderedDict, and not using it adds
  supposrt for older python version not having collections module.

Change-Id: If91ada91519ad329532fbd60cac4cf12682e49f7
Signed-off-by: David Caro <[email protected]>
---
M hooks/hook-dispatcher
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/gerrit-admin refs/changes/51/17451/1

diff --git a/hooks/hook-dispatcher b/hooks/hook-dispatcher
index 6c69d87..93595f9 100755
--- a/hooks/hook-dispatcher
+++ b/hooks/hook-dispatcher
@@ -22,7 +22,6 @@
 import subprocess
 import argparse
 import logging
-from collections import OrderedDict
 from dulwich.repo import Repo
 
 
@@ -210,7 +209,7 @@
 
 
 def get_chains(hooks):
-    chains = OrderedDict()
+    chains = {}
     hooks.sort()
     for hook in hooks:
         if '.' not in hook:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If91ada91519ad329532fbd60cac4cf12682e49f7
Gerrit-PatchSet: 1
Gerrit-Project: gerrit-admin
Gerrit-Branch: master
Gerrit-Owner: David Caro <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to