Mercurial > hgsubversion
changeset 1145:d2b4a65921fe
util: remove unused save_string
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sat, 15 Feb 2014 10:54:35 -0600 |
parents | 729becb9154b |
children | 4cdb0e95604f |
files | hgsubversion/util.py |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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 ''