def __init__(self, contentDir): BaseSession.__init__(self) if not contentDir.startswith('/'): msg = ('FileManagerSession: contentDir does not appear ' + 'to be absolute. It does not start with "/".') raise Exception(msg) self.contentDir = contentDir self.path = None self.log = logging.getLogger('fileManSession')
def __init__(self): BaseSession.__init__(self)