# HG changeset patch # User Sean Farley # Date 1392483275 21600 # Node ID d2b4a65921fea1200de60c0592882c1017123060 # Parent 729becb9154b00ec6caaec02b26f21e63b275347 util: remove unused save_string diff --git a/hgsubversion/util.py b/hgsubversion/util.py --- a/hgsubversion/util.py +++ b/hgsubversion/util.py @@ -121,13 +121,6 @@ def normalize_url(url): url = '%s#%s' % (url, checkout) return url -def save_string(file_path, string): - if string is None: - string = "" - f = open(file_path, 'wb') - f.write(str(string)) - f.close() - def _scrub(data): if not data and not isinstance(data, list): return ''