From 00d57e3011144aa0fcab1bd60bca48e51b478cde Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Wed, 19 Jun 2013 13:04:08 +0200 Subject: [PATCH] Fixed #463, typo in urls.py --- openslides/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openslides/urls.py b/openslides/urls.py index 463f81f73..3946ac8be 100644 --- a/openslides/urls.py +++ b/openslides/urls.py @@ -33,13 +33,13 @@ js_info_dict = {'packages': [],} for plugin in settings.INSTALLED_PLUGINS: try: mod = import_module(plugin + '.urls') - except ImportError, err: + except ImportError: continue plugin_name = mod.__name__.split('.')[0] urlpatterns += patterns('', (r'^%s/' % plugin_name, include('%s.urls' - % plugin_name))) - js_info_dict['packages'].append(plugin_name) + % plugin))) + js_info_dict['packages'].append(plugin) urlpatterns += patterns('', (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict),