Skip to content

Commit 4a4be76

Browse files
committed
Rename the separator kwarg to _separator in StringCommand.
This isn't actually in use currently but shouldn't be a "public" argument as this means it clashes with the global arguments.
1 parent b91281e commit 4a4be76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyinfra/api/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class StringCommand(PyinfraCommand):
7373
def __init__(self, *bits, **kwargs):
7474
super(StringCommand, self).__init__(**kwargs)
7575
self.bits = bits
76-
self.separator = kwargs.pop('separator', ' ')
76+
self.separator = kwargs.pop('_separator', ' ')
7777

7878
def __str__(self):
7979
return self.get_masked_value()

0 commit comments

Comments
 (0)