aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/archive_util.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-12 22:00:43 +0700
committerstepshal <nessento@openmailbox.org>2016-07-13 06:00:42 +0700
commit6d11e88f938f09ef16db4c6064b6e74acba4db1d (patch)
tree18b8d914a2c4fc9f9e00d75a5b30330bb0d1942a /setuptools/archive_util.py
parente3e21fd3d608d72ebe1ba2e4d2b3a59fbca76554 (diff)
downloadexternal_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.tar.gz
external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.tar.bz2
external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.zip
Fix quantity of blank lines after code object.
Diffstat (limited to 'setuptools/archive_util.py')
-rwxr-xr-xsetuptools/archive_util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/archive_util.py b/setuptools/archive_util.py
index b3c9fa56..4da24ec2 100755
--- a/setuptools/archive_util.py
+++ b/setuptools/archive_util.py
@@ -15,9 +15,11 @@ import contextlib
from pkg_resources import ensure_directory, ContextualZipFile
from distutils.errors import DistutilsError
+
class UnrecognizedFormat(DistutilsError):
"""Couldn't recognize the archive type"""
+
def default_filter(src,dst):
"""The default progress/filter callback; returns True for all files"""
return dst