From 4f08ea2165b3d351f9ed13fe97bcc7dada1edbc7 Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Mon, 20 May 2013 18:09:58 +0200 Subject: [PATCH] PEP-8 before working on #99 --- djadmin2/core.py | 1 - djadmin2/templatetags/admin2_urls.py | 1 - 2 files changed, 2 deletions(-) diff --git a/djadmin2/core.py b/djadmin2/core.py index 385f5cf..55a7b8a 100644 --- a/djadmin2/core.py +++ b/djadmin2/core.py @@ -83,7 +83,6 @@ class Admin2(object): Autodiscovers all admin2.py modules for apps in INSTALLED_APPS by trying to import them. """ - apps = [] for app_name in [x for x in settings.INSTALLED_APPS]: try: import_module("%s.admin2" % app_name) diff --git a/djadmin2/templatetags/admin2_urls.py b/djadmin2/templatetags/admin2_urls.py index 27d815a..e950670 100644 --- a/djadmin2/templatetags/admin2_urls.py +++ b/djadmin2/templatetags/admin2_urls.py @@ -9,4 +9,3 @@ def admin2_urlname(view, action): Converts the view and the specified action into a valid namespaced URLConf name. """ return 'admin2:%s_%s_%s' % (view.app_label, view.model_name, action) -