Commit Graph

5 Commits

Author SHA1 Message Date
Andres Suarez
fbdb46f5cb Tidy up license headers
Reviewed By: chadaustin

Differential Revision: D17872966

fbshipit-source-id: cd60a364a2146f0dadbeca693b1d4a5d7c97ff63
2019-10-11 05:28:23 -07:00
Adam Simpkins
9bfb48c921 update license headers in .py files
Summary:
Update the copyright & license headers in Python files to reflect the
relicensing to GPLv2

Reviewed By: wez

Differential Revision: D15487088

fbshipit-source-id: 9f2138dff41048d2c35f15e09a04ae5a9c9c80dd
2019-06-19 17:02:46 -07:00
Matt Glazar
93c0f175d6 Add default parameter to get_config_value
Summary:
`EdenInstance.get_config_value` raises a KeyError if the option or section is not set in any config files. Every caller of `EdenInstance.get_config_value` handles KeyError manually. Simplify code by letting callers specify a default value.

Aside from treating some options with an empty value as if they were unset, this diff should not change behavior.

Reviewed By: chadaustin

Differential Revision: D13737806

fbshipit-source-id: fdb7fa75d601de4644704813db38b671b27f73d7
2019-01-25 18:38:36 -08:00
Chad Austin
a86d32de5e fix eden doctor on custom kernels
Summary:
The code that parses the kernel version requires a fairly strict
structure and not all kernels match that structure. If the number
doesn't parse, skip the checks.

Reviewed By: wez

Differential Revision: D13824190

fbshipit-source-id: 8eb2ea2778e1e470d7f7708fc256dd5fae5a02b4
2019-01-25 15:12:12 -08:00
Adam Simpkins
80bca4aea8 move the OS-specific checks to their own module
Summary: movecode

Reviewed By: strager

Differential Revision: D13374644

fbshipit-source-id: 020b3e203d7502f4e059bf27aa27e74123c470dc
2018-12-13 21:40:33 -08:00