diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-13 04:43:57 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-13 04:43:57 +0300 |
commit | d6585a330b8e5511d59a6a6d790293385b345a26 (patch) | |
tree | df679f20dd5a88c0f1d66efb7b6186a1832ab1b8 | |
parent | Added a module to fetch ebuilds via URLs (diff) | |
download | pomu-patch.tar.gz pomu-patch.tar.bz2 pomu-patch.zip |
Fixed a logic error in Dispatcherpatch
-rw-r--r-- | pomu/source/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/source/manager.py b/pomu/source/manager.py index b2f4de0..61ed9be 100644 --- a/pomu/source/manager.py +++ b/pomu/source/manager.py @@ -81,7 +81,7 @@ class PackageDispatcher(): """ i = 0 for i in range(len(self.handlers)): - if self.handlers[0][0] > priority: + if self.handlers[i][0] > priority: break self.handlers.insert(i, (priority, source, handler)) |