summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/build_scripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py
index 7286bf1..bfa33c3 100644
--- a/Lib/distutils/command/build_scripts.py
+++ b/Lib/distutils/command/build_scripts.py
@@ -80,7 +80,7 @@ class build_scripts (Command):
match = first_line_re.match(first_line)
if match:
adjust = 1
- post_interp = match.group(1)
+ post_interp = match.group(1) or ''
if adjust:
self.announce("copying and adjusting %s -> %s" %