(self)
Generating seahub_settings.py
Generating seahub_settings.py
Generating seahub_settings . py
def generate(self):
        '''Generating seahub_settings.py'''
        print 'Generating seahub configuration ...\n'
        time.sleep(1)
        with open(self.seahub_settings_py, 'w') as fp:
            self.write_utf8_comment(fp)
            fp.write('\n')
            self.write_secret_key(fp)
            fp.write('\n')
            self.write_database_config(fp)
def generate ( self ) : print 'Generating seahub configuration ...\n' time . sleep ( 1 ) with open ( self . seahub_settings_py , 'w' ) as fp : self . write_utf8_comment ( fp ) fp . write ( '\n' ) self . write_secret_key ( fp ) fp . write ( '\n' ) self . write_database_config ( fp )