def make_wiki():
 from simplewiki import SimpleWiki
 database_uri = os.environ.get('SIMPLEWIKI_DATABASE_URI')
 return SimpleWiki((database_uri or 'sqlite:////tmp/simplewiki.db'))

def make_wiki ( ) : from simplewiki import SimpleWiki database_uri = os . environ . get ( 'SIMPLEWIKI_DATABASE_URI' ) return SimpleWiki ( ( database_uri or 'sqlite:////tmp/simplewiki.db' ) )
helper function that creates a new wiki instance .