debian/patches/SyntaxWarning.patch
raw| 1 | --- a/paintstore/fields.py |
| 2 | +++ b/paintstore/fields.py |
| 3 | @@ -16,6 +16,6 @@ |
| 4 | |
| 5 | try: |
| 6 | from south.modelsinspector import add_introspection_rules |
| 7 | - add_introspection_rules([], ["^paintstore\.fields\.ColorPickerField"]) |
| 8 | + add_introspection_rules([], [r"^paintstore\.fields\.ColorPickerField"]) |
| 9 | except ImportError: |
| 10 | - pass |
| 11 | \ No newline at end of file |
| 12 | + pass |