diff options
author | jab <jab@users.noreply.github.com> | 2018-02-28 22:35:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 22:35:20 +1100 |
commit | 5081e5c9f90f0ceb52eed0c7ca506a8eb6639e7b (patch) | |
tree | 1eb65193794f239557476ef293a6547f18433f87 | |
parent | a966a798a5becfc22e0a7916e74c68387e69de68 (diff) | |
download | setuptools-scm-5081e5c9f90f0ceb52eed0c7ca506a8eb6639e7b.tar.gz |
Fix misspelled "surogate_escape" bug.
s/surogate_escape/surrogateescape
-rw-r--r-- | setuptools_scm/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools_scm/utils.py b/setuptools_scm/utils.py index c58ec49..f744337 100644 --- a/setuptools_scm/utils.py +++ b/setuptools_scm/utils.py @@ -26,7 +26,7 @@ def ensure_stripped_str(str_or_bytes): if isinstance(str_or_bytes, str): return str_or_bytes.strip() else: - return str_or_bytes.decode('utf-8', 'surogate_escape').strip() + return str_or_bytes.decode('utf-8', 'surrogateescape').strip() def _always_strings(env_dict): |