Commit Graph

13 Commits

Author SHA1 Message Date
Mike Fährmann
e3212dd98f fix some smaller stuff
- remove support for old windows config paths
- catch exception if cache-database can't be opened
- fix username/password settings for unit tests
- rename variable 'max_tries' to 'retries'
2017-03-27 14:30:32 +02:00
Mike Fährmann
e4b3077168 improve config module
- speed improvements, especially in the 'interpolate' function
- 'interpolate' now prioritizes base-level values if they exist
  - "username" is chosen before "extractor.<category>.username"
  - -u/--username & co can now override config-file values
2017-03-27 11:59:27 +02:00
Mike Fährmann
27ae152f57 use logging to report errors 2017-03-11 01:47:57 +01:00
Mike Fährmann
0cfe51dc78 add '--config-yaml' option
(#8)
2017-03-08 16:57:42 +01:00
Mike Fährmann
4f123b8513 code adjustments according to pep8 2017-01-30 19:40:15 +01:00
Mike Fährmann
7c8fae62f6 update default config file paths 2016-11-10 16:24:08 +01:00
Mike Fährmann
91c446805b replace platform.system() with os.name 2016-10-25 15:44:36 +02:00
Mike Fährmann
2418bfe91b replace JSONDecodeError with ValueError 2016-09-24 12:06:17 +02:00
Mike Fährmann
3bcc697853 change default config paths 2016-07-25 11:12:52 +02:00
Mike Fährmann
b55870909c properly implement -c,--config option 2015-11-14 17:22:56 +01:00
Mike Fährmann
bea33ae9cb implement config.setdefault 2015-10-07 00:58:43 +02:00
Mike Fährmann
2026223ed1 change argument format for config-calls 2015-10-05 12:42:42 +02:00
Mike Fährmann
9986a5ffb5 json-based config module 2015-10-03 20:23:55 +02:00