[snowy] Obsessive quote audit



commit 8f55bfa70a131cb6db66e020fdd3b4da8bb3ca05
Author: Brad Taylor <brad getcoded net>
Date:   Mon Jul 20 10:24:50 2009 -0400

    Obsessive quote audit

 notes/admin.py |    2 +-
 notes/tests.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/notes/admin.py b/notes/admin.py
index ef15c68..2c7f587 100644
--- a/notes/admin.py
+++ b/notes/admin.py
@@ -22,7 +22,7 @@ from snowy.notes.models import *
 class NoteAdmin(VersionAdmin):
     list_display = ('created', 'author', 'title')
     search_fields = ['body', 'title']
-    prepopulated_fields = {"slug": ("title",)}
+    prepopulated_fields = {'slug': ('title',)}
 
 admin.site.register(Note, NoteAdmin)
 admin.site.register(NoteTag)
diff --git a/notes/tests.py b/notes/tests.py
index 19d1b8d..b56861a 100644
--- a/notes/tests.py
+++ b/notes/tests.py
@@ -31,7 +31,7 @@ class SimpleTest(TestCase):
         """
         self.failUnlessEqual(1 + 1, 2)
 
-__test__ = {"doctest": """
+__test__ = {'doctest': """
 Another way to test that 1 + 1 is equal to 2.
 
 >>> 1 + 1 == 2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]