[webconfig] debug mode should not be special wrt data_url handling (closes #2405487)
--- a/web/webconfig.py Thu Jul 19 10:25:22 2012 +0200
+++ b/web/webconfig.py Thu Jul 19 10:27:04 2012 +0200
@@ -331,10 +331,9 @@
self.datadir_url = baseurl + data_relpath
def data_relpath(self):
- if (self.debugmode or self.mode == 'test'):
+ if self.mode == 'test':
return 'data/'
- else:
- return 'data/%s/' % self.instance_md5_version()
+ return 'data/%s/' % self.instance_md5_version()
def _build_ui_properties(self):
# self.datadir_url[:-1] to remove trailing /