Re: [aur-dev][PATCH v2] config: allow reading both the defaults file and the modified config

2018-04-22 Thread Lukas Fleischer
On Sun, 15 Apr 2018 at 16:29:43, Eli Schwartz wrote: > In the process, rename config.proto to config.defaults (because that is > what it is now). > > Also use dict.get('key', default_value) when querying os.environ, rather > than an if block, as it is more pythonic/readable/concise, and reduces >

[aur-dev][PATCH v2] config: allow reading both the defaults file and the modified config

2018-04-15 Thread Eli Schwartz
In the process, rename config.proto to config.defaults (because that is what it is now). Also use dict.get('key', default_value) when querying os.environ, rather than an if block, as it is more pythonic/readable/concise, and reduces the number of dict lookups. This change allows aurweb configurat