summaryrefslogtreecommitdiff
path: root/horizon/__init__.py
diff options
context:
space:
mode:
authorGabriel Hurley <gabriel@strikeawe.com>2012-06-23 13:06:11 -0700
committerGabriel Hurley <gabriel@strikeawe.com>2012-06-23 13:16:37 -0700
commit820fdfe86804effd1e6578167716a3f4ec4d6842 (patch)
treeb9fd39f32dc1c7bfaa957195873804d74899cd0a /horizon/__init__.py
parent7ce79055184ab3612c27dc786e89919ef4f0a8b3 (diff)
downloadhorizon-820fdfe86804effd1e6578167716a3f4ec4d6842.tar.gz
Corrections for stricter pep8 checking.
Updates the code to reflect stricter pep8 checking standards for pep8 1.3+. Also adds a pep8 config file to silence unnecessary indentation errors. Removes the "reverse bugfix" monkeypatch since Django 1.4 is now required. Implements blueprint upgrade-pep8. Change-Id: I7343321627d8ccd1598f39323821133168a645cc
Diffstat (limited to 'horizon/__init__.py')
-rw-r--r--horizon/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/horizon/__init__.py b/horizon/__init__.py
index 71479fb96..7466d921e 100644
--- a/horizon/__init__.py
+++ b/horizon/__init__.py
@@ -39,11 +39,6 @@ except ImportError:
warnings.warn(msg, Warning)
if Horizon:
- # This can be removed once the upstream bug is fixed.
- import django
- if django.VERSION < (1, 4):
- from horizon.utils import reverse_bugfix
-
register = Horizon.register
unregister = Horizon.unregister
get_absolute_url = Horizon.get_absolute_url