Have every class inherit from object.

This commit is contained in:
Ahmed Charles 2015-11-02 11:52:55 +00:00 committed by Griatch
parent a8127b0f41
commit de0e42240c
14 changed files with 33 additions and 22 deletions

View file

@ -8,6 +8,8 @@ Config values should usually be set through the
manager's conf() method.
"""
from builtins import object
try:
import cPickle as pickle
except ImportError:
@ -99,7 +101,7 @@ class ServerConfig(WeakSharedMemoryModel):
self.delete()
value = property(__value_get, __value_set, __value_del)
class Meta:
class Meta(object):
"Define Django meta options"
verbose_name = "Server Config value"
verbose_name_plural = "Server Config values"