[cvs-annodex] commit (/annodex): cmmlwiki/trunk/cmmlwiki/utils.py
conrad
nobody at lists.annodex.net
Wed Feb 1 11:36:46 EST 2006
Update of /annodex (new revision 1907)
Modified files:
cmmlwiki/trunk/cmmlwiki/utils.py
Log Message:
allow wikiurl() to take no args to just give the cmmlwiki root
Modified: cmmlwiki/trunk/cmmlwiki/utils.py
===================================================================
--- cmmlwiki/trunk/cmmlwiki/utils.py 2006-02-01 00:06:42 UTC (rev 1906)
+++ cmmlwiki/trunk/cmmlwiki/utils.py 2006-02-01 00:36:46 UTC (rev 1907)
@@ -70,7 +70,7 @@
return s
# Make a URL including this wiki's URL path
-def wikiurl(path, include_host=False):
+def wikiurl(path='', include_host=False):
if (include_host):
http_host = os.getenv ('HTTP_HOST')
--
conrad
More information about the cvs-annodex
mailing list