summaryrefslogtreecommitdiffstats
path: root/command_context.py
blob: fc8c7dd182d5120a31051d0c68715c70d5cfa08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: UTF-8 -*-
# Copyright 2014 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2 (a copy included | http://gnu.org/licenses/gpl-2.0.txt)
"""Command context, i.e., state distributed along filters chain"""
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"

import logging

from .error import ClufterError

log = logging.getLogger(__name__)


class CommandContextError(ClufterError):
    pass


class CommandContext(dict):
    """Object representing command context (WIP: use dict for now)"""
    pass