fix: remove references, dependency for six package

This commit is contained in:
Lance Edgar 2024-07-01 16:35:08 -05:00
parent 8b5bb956ae
commit d0425115da
2 changed files with 0 additions and 3 deletions

View file

@ -26,7 +26,6 @@ dependencies = [
"fabric2",
"invoke",
"rattail",
"six",
]

View file

@ -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: