Ticket #10144: patch2.txt

File patch2.txt, 613 bytes (added by Jacob Fenwick, 15 years ago)

Did the svn diff from the trunk instead of on the file (oops)

Line 
1wuwei:django-1.0.X jacob$ svn diff
2Index: django/contrib/comments/__init__.py
3===================================================================
4--- django/contrib/comments/__init__.py (revision 9791)
5+++ django/contrib/comments/__init__.py (working copy)
6@@ -17,7 +17,7 @@
7
8 # Try to import the package
9 try:
10- package = __import__(comments_app, '', '', [''])
11+ package = __import__(comments_app, globals(), locals(), [''])
12 except ImportError:
13 raise ImproperlyConfigured("The COMMENTS_APP setting refers to "\
14 "a non-existing package.")
15
Back to Top