commit | 748c83251aabcc8da3f591d17dcd3eaa20b218ac | [log] [tgz] |
---|---|---|
author | Gilad Arnold <[email protected]> | Fri Oct 12 16:51:35 2012 |
committer | Gerrit <[email protected]> | Fri Oct 12 23:52:35 2012 |
tree | c41c6cba7990b78e6646cff59f7e5777855b01be | |
parent | 8318eac549a997d83eb16bea8b70e127a8aa3992 [diff] |
devserver: eliminate mutable default arguments Fixes a potential error due to Python's declaration-time binding of default arguments. In essence, the rule of thumb is not to use default values that are mutable objects. BUG=None TEST=Unittests; devserver starts and runs Change-Id: Ib5a45f2f500c6d73eb94d0342f834a90097cb058 Reviewed-on: https://gerrit.chromium.org/gerrit/35416 Reviewed-by: Chris Sosa <[email protected]> Commit-Ready: Gilad Arnold <[email protected]> Tested-by: Gilad Arnold <[email protected]>