Skip to content

Commit

Permalink
Bug 832202 - Handle empty lists from config.status in buildconfig.py.…
Browse files Browse the repository at this point in the history
… r=ted
  • Loading branch information
glandium committed Jan 19, 2013
1 parent ad77ea6 commit f933622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/buildconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

for var in config.__all__:
value = getattr(config, var)
if isinstance(value, list) and isinstance(value[0], tuple):
if isinstance(value, list) and value and isinstance(value[0], tuple):
value = dict(value)
setattr(sys.modules[__name__], var, value)

0 comments on commit f933622

Please sign in to comment.