Blob Blame History Raw
From 6fb53cad6b69ab5a8bcbce14579caefc9367d75c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dominika=20Krej=C4=8D=C3=AD?= <krejdom@seznam.cz>
Date: Mon, 29 Aug 2016 11:49:27 +0200
Subject: [PATCH] Add parentheses to fix #79

---
 .../south_migrations/0002_set__last_child_id__on_delete__set_null.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/threadedcomments/south_migrations/0002_set__last_child_id__on_delete__set_null.py b/threadedcomments/south_migrations/0002_set__last_child_id__on_delete__set_null.py
index 15d9b32..4762b8a 100644
--- a/threadedcomments/south_migrations/0002_set__last_child_id__on_delete__set_null.py
+++ b/threadedcomments/south_migrations/0002_set__last_child_id__on_delete__set_null.py
@@ -13,7 +13,7 @@ def forwards(self, orm):
         # Changing field 'ThreadedComment.last_child'
         db.alter_column('threadedcomments_comment', 'last_child_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['threadedcomments.ThreadedComment'], null=True, on_delete=models.SET_NULL))
         if south.__version__ <= "0.7.4" and not db.dry_run:
-            print " * WARNING: Your South version is not able to add ON DELETE SET NULL. Please fix this manually."
+            print(" * WARNING: Your South version is not able to add ON DELETE SET NULL. Please fix this manually.")
 
     def backwards(self, orm):