diff options
author | dol-sen <brian.dolbec@gmail.com> | 2011-07-12 13:00:54 -0700 |
---|---|---|
committer | dol-sen <brian.dolbec@gmail.com> | 2011-07-12 13:00:54 -0700 |
commit | bebce640cda970df5f98e1a9d3a2d0c4a68b2e57 (patch) | |
tree | e9f16e45365f518909a3ba38824a90890fd77369 | |
parent | fix success mistracking (diff) | |
download | layman-bebce640cda970df5f98e1a9d3a2d0c4a68b2e57.tar.gz layman-bebce640cda970df5f98e1a9d3a2d0c4a68b2e57.tar.bz2 layman-bebce640cda970df5f98e1a9d3a2d0c4a68b2e57.zip |
change raising an exceptio to outputing the error.
-rw-r--r-- | layman/db.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layman/db.py b/layman/db.py index 3ed5cc6..b1df906 100644 --- a/layman/db.py +++ b/layman/db.py @@ -206,7 +206,9 @@ class DB(DbBase): self.write(self.path) make_conf.delete(overlay) else: - raise Exception('No local overlay named "' + overlay.name + '"!') + self.output.error('No local overlay named "' + overlay.name + '"!') + return False + return True def sync(self, overlay_name, quiet = False): '''Synchronize the given overlay.''' |