[Mpuls-commits] r878 - wasko/branches/2.0/waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 26 12:57:46 CET 2010


Author: torsten
Date: 2010-01-26 12:57:46 +0100 (Tue, 26 Jan 2010)
New Revision: 878

Modified:
   wasko/branches/2.0/waskaweb/lib/helpers.py
Log:
* waskaweb/lib/helpers.py (getPrintUrl): Removed Not called from anywhere.


Modified: wasko/branches/2.0/waskaweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-26 11:55:49 UTC (rev 877)
+++ wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-26 11:57:46 UTC (rev 878)
@@ -273,14 +273,6 @@
 def getFormularName(page_id):
     return get_pagename(page_id)
 
-def getPrintUrl(print_form, ds_id, page_id):
-    if print_form == "digest":
-        return "/case/printout/%s/0/digest" % (ds_id)
-    elif print_form == "show":
-        return "/case/printout/%s/%s/show" % (ds_id, page_id)
-    else:
-        return "#"
-
 def slashSplit(s):
     out = []
     for p in s.split("/"):



More information about the Mpuls-commits mailing list