Sfoglia il codice sorgente

Fixed syntax error on python2.4.

bc Wong 15 anni fa
parent
commit
c803f21bbf

+ 2 - 2
desktop/core/ext-py/django-extensions-0.5/django_extensions/tests/models.py

@@ -4,11 +4,11 @@ try:
     from django_extensions.db.fields.encrypted import EncryptedTextField, EncryptedCharField
 except ImportError:
 
-    class EncryptedCharField():
+    class EncryptedCharField(object):
          def __init__(self, **kwargs):
              pass;
 
-    class EncryptedTextField():
+    class EncryptedTextField(object):
          def __init__(self, **kwargs):
              pass;