diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-01-23 20:39:05 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-01-23 20:39:05 +0000 |
| commit | e23fe00ff2a8fb3c796bfcc600dcc58dba902fa5 (patch) | |
| tree | bab8590db32f6aa337d9b9fb24ecf329b9a2582e /mammoth/zips.py | |
| parent | a47b5579acd8314d8543d306571dee93ac505667 (diff) | |
Move target URI handling out of zips module
Diffstat (limited to 'mammoth/zips.py')
| -rw-r--r-- | mammoth/zips.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mammoth/zips.py b/mammoth/zips.py index 8e09924..432be5d 100644 --- a/mammoth/zips.py +++ b/mammoth/zips.py @@ -54,10 +54,3 @@ def update_zip(fileobj, files): fileobj.seek(0) destination_fileobj.seek(0) shutil.copyfileobj(destination_fileobj, fileobj) - - -def uri_to_zip_entry_name(base, uri): - if uri.startswith("/"): - return uri[1:] - else: - return base + "/" + uri |
