def __init__(self): StorageBase.__init__(self) define("storage_object_depth", default=0, help="object distribution inside of bucket", type=int) #Read Command line with new definitions tornado.options.parse_config_file(options.conf) self._OBJECT_DEPTH = options.storage_object_depth
def __init__(self ): StorageBase.__init__(self) if not os.path.exists(self._BUCKET_PATH): logging.debug('Create root direcoty %s' % self._BUCKET_PATH) os.makedirs(self._BUCKET_PATH)
def __init__(self): StorageBase.__init__(self) define("storage_object_depth", default=0 , help="object distribution inside of bucket", type=int) #Read Command line with new definitions tornado.options.parse_config_file(options.conf) self._OBJECT_DEPTH = options.storage_object_depth