Skip to content

Commit

Permalink
I'm done with this.
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Elrod <rick@elrod.me>
  • Loading branch information
relrod committed Dec 17, 2021
1 parent 3f82c16 commit adf1519
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def exists(self) -> bool:
def to_string(self) -> str:
"""Render the volume mount in a way that (docker|podman) understands."""
out = f"{self.src}:{self.dest}"
if len(self.options) > 0:
joined_opts = ",".join(o.value for o in self.options)
if self.options:
joined_opts = ",".join(o.value for o in self.options) # pylint: disable=not-an-iterable
out += f":{joined_opts}"
return out

Expand Down

0 comments on commit adf1519

Please sign in to comment.