aboutsummaryrefslogtreecommitdiff
path: root/pomu
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-05-30 02:43:39 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2017-05-30 02:43:39 +0300
commita5f1b257aa66dcab563df9ca2975ca6aa0990af8 (patch)
tree0f9b677cab64d04f2e60e4cb358123763ba2a9c3 /pomu
parentInitial commit (diff)
downloadpomu-a5f1b257aa66dcab563df9ca2975ca6aa0990af8.tar.gz
pomu-a5f1b257aa66dcab563df9ca2975ca6aa0990af8.tar.bz2
pomu-a5f1b257aa66dcab563df9ca2975ca6aa0990af8.zip
Use portage OS
fix status
Diffstat (limited to 'pomu')
-rw-r--r--pomu/pomu.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pomu/pomu.py b/pomu/pomu.py
index cee8775..da2e897 100644
--- a/pomu/pomu.py
+++ b/pomu/pomu.py
@@ -1,6 +1,7 @@
import click
import portage
-from os import path, makedirs
+
+from portage.os import path, makedirs
#TODO: global --repo option, (env var?)
@@ -75,7 +76,7 @@ def init(list_repos, create, repo, repo_dir):
r.index.commit('Initialized pomu')
print('Initialized repository', repo, 'successfully')
-@main.command
+@main.command()
def status():
"""Display pomu status"""
rs = portage.db[portage.root]['vartree'].settings.repositories