summaryrefslogtreecommitdiffstats
path: root/command_context.py
Commit message (Collapse)AuthorAgeFilesLines
* Solve a "read-only dict as API" question once foreverJan Pokorný2014-09-041-92/+25
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: prevent unexpected tainting of mutablesJan Pokorný2014-06-171-2/+48
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: teach CommandContextBase to `repr` itselfJan Pokorný2014-06-171-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: restore common dict semantics + allow "bypass"Jan Pokorný2014-06-171-14/+38
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: avoid early-closure trap, defer to ad-hocJan Pokorný2014-05-221-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Relicence GPLv2 -> GPLv2+Jan Pokorný2014-04-251-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: introduce filters-global keyword-based configJan Pokorný2014-04-031-14/+27
| | | | | | It's up to command implementer to keep possible collisions away. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: fix discovered issues in the proxyingJan Pokorný2014-02-131-2/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: s/add_filter/ensure_filter (now also returns)Jan Pokorný2014-02-131-8/+11
| | | | | | (similar semantics to dict.setdefault) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/command context: filters get passed their portion + no selfJan Pokorný2014-02-111-3/+73
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Move base exceptions and exit codes to separate error.pyJan Pokorný2014-01-271-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters: introduce command context (e.g., previous tasks inspection)Jan Pokorný2014-01-171-0/+21
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>