This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch john-bodley--fix-20151
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/john-bodley--fix-20151 by this
push:
new 2915836e5d Remove unused code
2915836e5d is described below
commit 2915836e5da44a82aa14c06c49dc39609f528be1
Author: John Bodley <[email protected]>
AuthorDate: Mon Jul 18 20:15:39 2022 -0700
Remove unused code
---
superset/utils/csv.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/superset/utils/csv.py b/superset/utils/csv.py
index 54f30362fe..bfda82ac19 100644
--- a/superset/utils/csv.py
+++ b/superset/utils/csv.py
@@ -65,7 +65,6 @@ def escape_value(value: str) -> str:
def df_to_escaped_csv(df: pd.DataFrame, **kwargs: Any) -> Any:
- escape_values = lambda v: escape_value(v) if isinstance(v, str) else v
# Escape csv headers
df = df.rename(columns=escape_values)