fix: remove references, dependency for six
package
This commit is contained in:
parent
8b5bb956ae
commit
d0425115da
2 changed files with 0 additions and 3 deletions
|
@ -111,8 +111,6 @@ def append(c, filename, text, use_sudo=False, partial=False, escape=True,
|
|||
"""
|
||||
func = use_sudo and c.sudo or c.run
|
||||
# Normalize non-list input to be a list
|
||||
# TODO: do we need to check for six.something here?
|
||||
# if isinstance(text, basestring):
|
||||
if isinstance(text, str):
|
||||
text = [text]
|
||||
for line in text:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue