diff options
-rwxr-xr-x | bin/portageq | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/portageq b/bin/portageq index a13ca998c..f0ecbfcd1 100755 --- a/bin/portageq +++ b/bin/portageq @@ -627,7 +627,10 @@ def get_repo_path(argv): print("ERROR: insufficient parameters!") sys.exit(2) for arg in argv[1:]: - print(portage.db[argv[0]]["porttree"].dbapi.getRepositoryPath(arg)) + path = portage.db[argv[0]]["porttree"].dbapi.getRepositoryPath(arg) + if path is None: + path = "" + print(path) def list_preserved_libs(argv): """<root> |