diff options
Diffstat (limited to 'pomu/cli.py')
-rw-r--r-- | pomu/cli.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pomu/cli.py b/pomu/cli.py index 9a0b9bf..72cec9b 100644 --- a/pomu/cli.py +++ b/pomu/cli.py @@ -120,8 +120,9 @@ def show(package): print('Merged into repository', repo.name, 'at', repo.root) for f in pkg.files: print(' ', path.join(*f)) - print('Backend:', pkg.backend.__name__) - print('Backend detailes:', pkg.backend) + if pkg.backend: + print('Backend:', pkg.backend.__name__) + print('Backend detailes:', pkg.backend) def main_(): try: |