Skip to content

Commit

Permalink
Align with new version of attrs lib
Browse files Browse the repository at this point in the history
A keyword convert was deprecated and converter should be used instead.
python-attrs/attrs#307

Fixes: avast#39

Signed-off-by: Lukas Bednar <lbednar@redhat.com>
  • Loading branch information
lukas-bednar committed Oct 30, 2019
1 parent 7671c88 commit faf367f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_docker/__init__.py
Expand Up @@ -104,7 +104,7 @@ def str_to_list(arg):

@attr.s(frozen=True)
class DockerComposeExecutor(object):
_compose_files = attr.ib(convert=str_to_list)
_compose_files = attr.ib(converter=str_to_list)
_compose_project_name = attr.ib()

def execute(self, subcommand):
Expand Down

0 comments on commit faf367f

Please sign in to comment.