summaryrefslogtreecommitdiff
path: root/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2008-03-13 22:26:47 +0000
committerJosh Bell <josh@lindenlab.com>2008-03-13 22:26:47 +0000
commita1cde743e755d826c86aeb006d2027ad2e5c8ce3 (patch)
treec39f36cb9fd3d94a88c4ae8c1bfbe272a754f4a2 /indra/newview/viewer_manifest.py
parentd60c966bcf981416790a286fbab0598192914910 (diff)
Duh... I didn't test with default arguments, apparently.
* SConstruct doesn't like None as a default value; "False" will do nicely, since later logic tests for truth * Was using [] instead of get() for a value that might not be present (and wanted None in that case)
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rwxr-xr-xindra/newview/viewer_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index a030a64401..b19e4e2c9c 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -97,7 +97,7 @@ class ViewerManifest(LLManifest):
"""Channel reported for login and upgrade purposes ONLY; used for A/B testing"""
# NOTE: Do not return the normal channel if login_channel is not specified, as
# some code may branch depending on whether or not this is present
- return self.args['login_channel']
+ return self.args.get('login_channel')
def channel(self):
return self.args['channel']