honzakral / django-threadedcomments

django-threadedcomments is a simple yet flexible threaded commenting system for Django.
BSD 3-Clause "New" or "Revised" License
622 stars 165 forks source link

SyntaxError: Missing parentheses in call to 'print' #79

Closed ari3s closed 8 years ago

ari3s commented 8 years ago

Syntax error in 0002_setlast_child_idon_delete__set_null.py when Python 3 is used:

Bytecompiling .py files below /home/makerpm/rpmbuild/BUILDROOT/python-django-threadedcomments-1.0.1-1.fc24.x86_64/usr/lib/python3.5 using /usr/bin/python3.5
*** Error compiling '/home/makerpm/rpmbuild/BUILDROOT/python-django-threadedcomments-1.0.1-1.fc24.x86_64/usr/lib/python3.5/site-packages/threadedcomments/south_migrations/0002_set__last_child_id__on_delete__set_null.py'...
  File "/usr/lib/python3.5/0002_set__last_child_id__on_delete__set_null.py", line 16
    print " * WARNING: Your South version is not able to add ON DELETE SET NULL. Please fix this manually."
                                                                                                          ^
SyntaxError: Missing parentheses in call to 'print'