From 9814db75eafbd4eb2bdd52f49baad5af66b5c69f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 25 Sep 2017 17:18:39 -0400 Subject: [PATCH] remove deprecated function Signed-off-by: Kenneth Reitz --- pipenv/utils.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 4fa40f3c..562d31ed 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -478,18 +478,6 @@ def resolve_deps(deps, which, which_pip, project, sources=None, verbose=False, p return results -def format_toml(data): - """Pretty-formats a given toml string.""" - - data = data.split('\n') - for i, line in enumerate(data): - if i > 0: - if line.startswith('['): - data[i] = '\n{0}'.format(line) - - return '\n'.join(data) - - def multi_split(s, split): """Splits on multiple given separators."""