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)meow-7.2.2
parent
d60c966bcf
commit
a1cde743e7
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Reference in New Issue