[Mpuls-commits] r6096 - base/trunk/mpulsweb/lib

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 5 10:27:06 CEST 2012


Author: torsten
Date: 2012-10-05 10:27:06 +0200 (Fri, 05 Oct 2012)
New Revision: 6096

Modified:
   base/trunk/mpulsweb/lib/config.py
Log:
Reverted changes on get_app_name


Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py	2012-10-05 07:52:50 UTC (rev 6095)
+++ base/trunk/mpulsweb/lib/config.py	2012-10-05 08:27:06 UTC (rev 6096)
@@ -484,12 +484,7 @@
             return None
 
     def get_app_name(self):
-        name = self.get('common', 'name')
-        # DISTRIBUTION is replaced with the applicatio name. If not, then
-        # return default string.
-        if name == "DISTRIBUTION":
-            return "mpuls"
-        return name
+        return self.get('common', 'name')
 
     def get_app_version(self):
         return self.get('common', 'version')



More information about the Mpuls-commits mailing list