summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt2
-rw-r--r--src/engine/SCons/Script/Main.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 49dfcfa..a902e4c 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -19,6 +19,8 @@ RELEASE X.X.X - XXX
- Fix a TypeError on #include of file names with Unicode characters.
+ - Fix an exception if a null command-line argument is passed in.
+
RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py
index 883af40..c70708d 100644
--- a/src/engine/SCons/Script/Main.py
+++ b/src/engine/SCons/Script/Main.py
@@ -868,7 +868,7 @@ def _main(parser):
targets = []
xmit_args = []
for a in parser.largs:
- if a[0] == '-':
+ if a[:1] == '-':
continue
if '=' in a:
xmit_args.append(a)