fix: remove references, dependency for six
package
This commit is contained in:
parent
8b5bb956ae
commit
d0425115da
|
@ -26,7 +26,6 @@ dependencies = [
|
||||||
"fabric2",
|
"fabric2",
|
||||||
"invoke",
|
"invoke",
|
||||||
"rattail",
|
"rattail",
|
||||||
"six",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
func = use_sudo and c.sudo or c.run
|
||||||
# Normalize non-list input to be a list
|
# 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):
|
if isinstance(text, str):
|
||||||
text = [text]
|
text = [text]
|
||||||
for line in text:
|
for line in text:
|
||||||
|
|
Loading…
Reference in a new issue