Updated comment.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 6 Nov 2011 17:05:46 +0000 (17:05 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 6 Nov 2011 17:05:46 +0000 (17:05 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrpylib@998 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrpylib/wrmwcache.py

index c197f94fee738b35a6b7d4bd6ed99ad2fbd83e71..7966c56f892359333b22ecd445b675fd5f581aab 100644 (file)
@@ -142,7 +142,9 @@ def update_wrmapcache(connection):
     
     >>> from sqlalchemy.engine import create_engine
     >>> engine = create_engine('mysql://philipp@localhost:3306/philipp_winterrodeln_wiki?charset=utf8&use_unicode=0')
-    >>> update_wrmapcache(engine.connect())
+    >>> # or: engine = create_engine('mysql://philipp@localhost:3306/philipp_winterrodeln_wiki?charset=utf8&use_unicode=0&passwd=XXXXX')
+    >>> connection = engine.connect()
+    >>> update_wrmapcache(connection)
     """
     metadata = schema.MetaData()
     page = mwdb.page_table(metadata)