diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2017-06-28 23:47:13 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2017-06-28 23:47:13 +0300 |
commit | 64513feb88fe10a72cace2b2e7dbd5a07f8210c5 (patch) | |
tree | f3c2fba1ed9a2a95697bb2e7c8b1890967bf4fae /pomu/repo/repo.py | |
parent | Major updates and refactorings (diff) | |
download | pomu-64513feb88fe10a72cace2b2e7dbd5a07f8210c5.tar.gz pomu-64513feb88fe10a72cace2b2e7dbd5a07f8210c5.tar.bz2 pomu-64513feb88fe10a72cace2b2e7dbd5a07f8210c5.zip |
Resolve circular imports
Convert dispatcher to selectable repos
Move suffixes to util.pkg module
Diffstat (limited to 'pomu/repo/repo.py')
-rw-r--r-- | pomu/repo/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/repo/repo.py b/pomu/repo/repo.py index df891e1..8bbc7fb 100644 --- a/pomu/repo/repo.py +++ b/pomu/repo/repo.py @@ -5,7 +5,6 @@ from git import Repo import portage from pomu.package import Package -from pomu.source import dispatcher from pomu.util.cache import cached from pomu.util.fs import remove_file, strip_prefix from pomu.util.result import Result @@ -93,6 +92,7 @@ class Repository(): def _get_package(self, category, name, slot='0'): """Get an existing package (by category, name and slot), reading the manifest""" + from pomu.source import dispatcher if slot == '0': pkgdir = path.join(self.pomu_dir, category, name) else: |