mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 16:03:16 +01:00
reformat
This commit is contained in:
parent
9eda56caf9
commit
06fc0715fe
@ -1690,7 +1690,7 @@ class cmd_run: # pylint: disable=invalid-name,too-few-public-methods
|
|||||||
|
|
||||||
wrapped._compose = self.compose
|
wrapped._compose = self.compose
|
||||||
# Trim extra indentation at start of multiline docstrings.
|
# Trim extra indentation at start of multiline docstrings.
|
||||||
wrapped.desc = self.cmd_desc or re.sub(r'^\s+', '', func.__doc__)
|
wrapped.desc = self.cmd_desc or re.sub(r"^\s+", "", func.__doc__)
|
||||||
wrapped._parse_args = []
|
wrapped._parse_args = []
|
||||||
self.compose.commands[self.cmd_name] = wrapped
|
self.compose.commands[self.cmd_name] = wrapped
|
||||||
return wrapped
|
return wrapped
|
||||||
|
Loading…
Reference in New Issue
Block a user