aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-06-28 23:47:13 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2017-06-28 23:47:13 +0300
commit64513feb88fe10a72cace2b2e7dbd5a07f8210c5 (patch)
treef3c2fba1ed9a2a95697bb2e7c8b1890967bf4fae /pomu/repo/repo.py
parentMajor updates and refactorings (diff)
downloadpomu-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.py2
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: