From d0425115dad1528326de8cb1ccab3ff1d699f00f Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 1 Jul 2024 16:35:08 -0500 Subject: [PATCH] fix: remove references, dependency for `six` package --- pyproject.toml | 1 - rattail_fabric2/util.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c39b597..42c8581 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,6 @@ dependencies = [ "fabric2", "invoke", "rattail", - "six", ] diff --git a/rattail_fabric2/util.py b/rattail_fabric2/util.py index f1aab44..50381cf 100644 --- a/rattail_fabric2/util.py +++ b/rattail_fabric2/util.py @@ -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: