aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-10-18 11:11:59 -0400
committerGitHub <noreply@github.com>2016-10-18 11:11:59 -0400
commit7d984bbdc111fcdfef816265e159a3054dbee132 (patch)
tree3a25ce5765a8c9ae633a3eaeec1ce88f7b382e21 /setuptools/command/sdist.py
parentf774a0be095c3873c2881d393605fefa5ca0d0d6 (diff)
parent31bd37c6ac8de9e8c1bacebc2d8e1215df91eb96 (diff)
downloadexternal_python_setuptools-7d984bbdc111fcdfef816265e159a3054dbee132.tar.gz
external_python_setuptools-7d984bbdc111fcdfef816265e159a3054dbee132.tar.bz2
external_python_setuptools-7d984bbdc111fcdfef816265e159a3054dbee132.zip
Merge pull request #820 from stepshal/blank
Fix quantity of blank lines.
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index b85d7d03..9975753d 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -89,8 +89,10 @@ class sdist(sdist_add_defaults, orig.sdist):
"""
In a context, remove and restore os.link if it exists
"""
+
class NoValue:
pass
+
orig_val = getattr(os, 'link', NoValue)
try:
del os.link