Newstyle class

This commit is contained in:
Toshio Kuratomi 2014-12-18 13:43:55 -08:00
parent f65d9ab793
commit c4f9366e91

View file

@ -458,7 +458,7 @@ def check_dependencies(module):
module.fail_json(msg="The Ansible Docker module requires `docker-py` >= 0.3.0.") module.fail_json(msg="The Ansible Docker module requires `docker-py` >= 0.3.0.")
class DockerManager: class DockerManager(object):
counters = {'created':0, 'started':0, 'stopped':0, 'killed':0, 'removed':0, 'restarted':0, 'pull':0} counters = {'created':0, 'started':0, 'stopped':0, 'killed':0, 'removed':0, 'restarted':0, 'pull':0}
_capabilities = set() _capabilities = set()