From 42b976684874ad63f962946a67d03eae51884a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 12 Sep 2009 18:06:05 +0200 Subject: Add default for pop. --HG-- branch : distribute extra : rebase_source : a4655cb42947b8ea089e72b3d4c2ff2482a31e6a --- setuptools/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/dist.py') diff --git a/setuptools/dist.py b/setuptools/dist.py index 7e9ab5c9..c2e57f4b 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -210,7 +210,7 @@ class Distribution(_Distribution): self.require_features = [] self.features = {} self.dist_files = [] - self.src_root = attrs.pop("src_root") + self.src_root = attrs.pop("src_root", None) self.patch_missing_pkg_info(attrs) # Make sure we have any eggs needed to interpret 'attrs' if attrs is not None: -- cgit v1.2.3