~ev/errors/js-oops

Viewing all changes in revision 417.

  • Committer: Evan Dandrea
  • Date: 2013-05-16 16:32:08 UTC
  • Revision ID: evan.dandrea@canonical.com-20130516163208-rxswzv9ns044jv27
We don't need to turn the keys into a list before checking for existence. Python's in operator works on dictionary keys when given a dictionary.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: