cc-4105: major refactorings. shit is barely running

This commit is contained in:
Rudi Grinberg 2012-07-26 15:49:41 -04:00
parent add322d515
commit be00cc6990
14 changed files with 185 additions and 290 deletions

View file

@ -28,3 +28,7 @@ class CouldNotCreateIndexFile(Exception):
self.cause = cause
def __str__(self): return "Failed to create touch file '%s'" % self.path
class DirectoryIsNotListed(Exception):
def __init__(self,dir_id):
self.dir_id = dir_id
def __str__(self): return "%d was not listed as a directory in the database" % self.dir_id