diff --git a/shotgun_api3.py b/shotgun_api3.py index 1d0cc70fb..a0e1abf41 100644 --- a/shotgun_api3.py +++ b/shotgun_api3.py @@ -145,7 +145,7 @@ # --------------------------------------------------------------------------------------------- class ShotgunError(Exception): pass -class Shotgun: +class Shotgun(object): # Used to split up requests into batches of records_per_page when doing requests. this helps speed tremendously # when getting lots of results back. doesn't affect the interface of the api at all (you always get the full set # of results back as one array) but just how the client class communicates with the server. @@ -564,7 +564,7 @@ def schema(self, entity_type): def entity_types(self): raise ShotgunError("Deprecated: use schema_entity_read() instead") -class ShotgunCRUD: +class ShotgunCRUD(object): def __init__(self, options): self.__sg_url = options['server_url'] self.__auth_args = {'script_name': options['script_name'], 'script_key': options['script_key']}