summaryrefslogtreecommitdiffstats
path: root/utils_prog.py
Commit message (Collapse)AuthorAgeFilesLines
* utils_prog: FancyOutput: allow for memoized prefixJan Pokorný2015-12-171-1/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: new "note" logic colorJan Pokorný2015-12-171-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: docformat: decorator to "format" __doc__ per paramsJan Pokorný2015-05-291-1/+13
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: which: comment wrt. distutils...find_executableJan Pokorný2015-02-261-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: setenv_namespaced counterpart of getenv_namespacedJan Pokorný2015-02-261-0/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: add FancyOutput helper class (self-explanatory)Jan Pokorný2014-12-111-2/+122
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command + utils_prog: sanitize importsJan Pokorný2014-12-111-1/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: add and use "Popen with logging"Jan Pokorný2014-11-141-1/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main + more: introduce concept of "expert" cmd switchesJan Pokorný2014-11-141-2/+10
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: TweakedDict: fix returning copy of non-dictJan Pokorný2014-10-081-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: getenv_namespaced for accessing CLUFTER_X env varsJan Pokorný2014-10-081-0/+6
| | | | | | Actually, the namespace is derived from the package name directly. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: extend comment for defer_common (confused myself)Jan Pokorný2014-10-081-1/+14
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: fix syntatic cruftJan Pokorný2014-09-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Solve a "read-only dict as API" question once foreverJan Pokorný2014-09-041-1/+110
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: defer_common: fix bad usage of filterdict_popJan Pokorný2014-08-191-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: which: fix PATH expansionJan Pokorný2014-06-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: cosmetics and comment polishingJan Pokorný2014-06-161-7/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: more generic implementation of 'which'Jan Pokorný2014-06-161-15/+47
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: add behavior of deferring to _common as already doc'dJan Pokorný2014-06-161-0/+22
| | | | | | (in doc/HACKING in the previous commit) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: new func dirname_x (iterated dirname)Jan Pokorný2014-05-281-0/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Refactor: separate set_logging func in utils_progJan Pokorný2014-05-191-0/+17
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: new program-specific unit incl. some moves from utilsJan Pokorný2014-05-191-0/+80
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>