Commit Graph

16 Commits

Author SHA1 Message Date
Frédéric Péters 75516f7b6a misc: get ConfigParser from six (#36515) 2019-11-19 15:48:07 +01:00
Frédéric Péters 78c4a5f640 misc: use print as function (#36515) 2019-11-19 15:48:07 +01:00
Frédéric Péters 87253343d4 misc: update except syntax (#36515) 2019-11-19 15:48:07 +01:00
Frédéric Péters 1b1e596d1f misc: use relative imports (#36517) 2019-09-30 11:05:53 +02:00
Frédéric Péters cf7124504e general: don't put _ in __builtin__ (#15245) 2017-03-12 13:23:53 +01:00
Frédéric Péters 27de58917f trivial: use @classmethod decorator instead of calling classmethod() 2016-03-11 17:04:55 +01:00
Benjamin Dauvergne 82627cdc8c misc: add support for specifying extra modules in configuration files (#6654)
[extra]
auquotidien = ../auquotidien/extra/
2015-03-23 08:31:30 +01:00
Frédéric Péters c631b0a852 ctl: fix display of list of commands 2015-02-05 11:48:28 +01:00
Frédéric Péters 570627ed14 tests: add loading of ctl classes 2014-12-28 19:41:01 +01:00
Frédéric Péters 1f2ee2336d misc: cleaninp up some pylint violations
C1001 (old-style-class), W0611 (unused-import), W1401
(anomalous-backslash-in-string), W0107 (unnecessary-pass)
2014-12-22 10:23:49 +01:00
Frédéric Péters 7b35a9e688 misc: cleanup of random things detected by pyflakes 2013-03-30 23:04:50 +01:00
Frédéric Péters e8121d6c5d ctl: fallback to loading all commands if there's no similarly named module 2013-03-29 13:46:45 +01:00
Frédéric Péters 28532b3a98 replace FSF physical address by a link to their licenses page 2012-01-26 16:32:10 +00:00
Frédéric Péters 2ad5a2f92b abort on missing or invalid configuration file 2012-01-26 10:12:54 +00:00
Jérôme Schneider 9d2de45515 Manage w.c.s. configuration file
* wcs.cfg-sample: default w.c.s. configuration file
 * wcs/ctl/*: manage w.c.s. configuration file in commands
 * wcs/qommon/ctl.py: manage base options and sub options.
   Add -f base option (wcsctl.py -f yourconfig.cfg command).
 * wcs/publisher.py: support cfg file settings
2012-01-10 15:56:52 +00:00
Frédéric Péters 84e6cd0513 Rewrote command line handling, to use OptionParser 2010-10-18 13:26:51 +00:00