diff options
-rw-r--r-- | combox/silo.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/combox/silo.py b/combox/silo.py index 21b473d..e08eafc 100644 --- a/combox/silo.py +++ b/combox/silo.py @@ -66,7 +66,11 @@ class ComboxSilo(object): filep: path to the file in combox directory. """ - return self.db.rem(filep) + try: + return self.db.rem(filep) + except KeyError, e: + # means `filep' not present in db. + return False def exists(self, filep): |