(self)
return env
Prepare for seahub syncdb
Prepare for seahub syncdb
Prepare for seahub syncdb
def get_seahub_env(self):
        '''Prepare for seahub syncdb'''
        env = dict(os.environ)
        env['CCNET_CONF_DIR'] = ccnet_config.ccnet_dir
        env['SEAFILE_CONF_DIR'] = seafile_config.seafile_dir
        env['SEAFES_DIR'] = os.path.join(self.install_path, 'pro', 'python', 'seafes')
        self.setup_python_path(env)
        return env
def get_seahub_env ( self ) : env = dict ( os . environ ) env [ 'CCNET_CONF_DIR' ] = ccnet_config . ccnet_dir env [ 'SEAFILE_CONF_DIR' ] = seafile_config . seafile_dir env [ 'SEAFES_DIR' ] = os . path . join ( self . install_path , 'pro' , 'python' , 'seafes' ) self . setup_python_path ( env ) return env