diff options
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-x | setuptools/command/sdist.py | 2 |
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 |