🏡 index : ~doyle/dave.git

author Jordan Doyle <jordan@doyle.wf> 2017-07-22 22:39:15.0 +00:00:00
committer Jordan Doyle <jordan@doyle.wf> 2017-07-22 22:39:15.0 +00:00:00
commit
e58b2cb338432d3d5f9e9b2927c6251c84d1028c [patch]
tree
d502bb3c51320ff725b9ee0e430a857bb0991340
parent
3fa32cd825a83ac8e7fb8d2f7b34148cc1db874d
download
e58b2cb338432d3d5f9e9b2927c6251c84d1028c.tar.gz

remove unneeded decorator



Diff

 dave/module.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/dave/module.py b/dave/module.py
index 626f072..34518fc 100644
--- a/dave/module.py
+++ b/dave/module.py
@@ -93,18 +93,6 @@ def always_run():
    return add_attribute


def proxied():
    """Decorate a function to always proxy data flowing from it."""
    def proxifier(function):
        def wrapper(*args, **kw):
            output = function(*args, **kw)
            return output

        return wrapper

    return proxifier


class Priority(Enum):
    HIGHEST = -2
    HIGH = -1