Remove explicit inherits from object

This commit is contained in:
flan
2017-11-04 02:38:17 +01:00
parent 95eadafb9b
commit 3d6a2a639a
6 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ import anki.storage
import os, errno
class CollectionWrapper(object):
class CollectionWrapper:
"""A simple wrapper around an anki.storage.Collection object.
This allows us to manage and refer to the collection, whether it's open or not. It
@@ -84,7 +84,7 @@ class CollectionWrapper(object):
"""Returns True if the collection is open, False otherwise."""
return self.__col is not None
class CollectionManager(object):
class CollectionManager:
"""Manages a set of CollectionWrapper objects."""
collection_wrapper = CollectionWrapper