Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Python 2.3 doesn't do decorators.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 705d6cce0f31140944f8c0b0d42a29a9f69cbf24 1 parent 0b78ce8
Karen Tracey authored March 11, 2010
5  tests/regressiontests/views/templatetags/debugtags.py
... ...
@@ -1,10 +1,9 @@
1 1
 from django import template
2  
- 
  2
+
3 3
 from regressiontests.views import BrokenException
4 4
 
5 5
 register = template.Library()
6 6
 
7  
-@register.simple_tag
8 7
 def go_boom(arg):
9 8
     raise BrokenException(arg)
10  
-
  9
+register.simple_tag(go_boom)

0 notes on commit 705d6cc

Please sign in to comment.
Something went wrong with that request. Please try again.