Allow individual hook registration to override ID
authormartin f. krafft <madduck@madduck.net>
Fri, 21 Mar 2008 18:12:16 +0000 (19:12 +0100)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 19:07:10 +0000 (15:07 -0400)
commit17dc5df1f5d1068ea0d18bc0bd1c75dc9ebeb65a
tree54740e27fde627b2e55faae20da1472addf3eabb
parent86ec72c8260a377617b215e7f021778f7507e3fb
Allow individual hook registration to override ID

The preprocessor hooks need to specify IDs different from the ID used to
initialise the proxy. Thus, the hook function now takes an optional id
keyword argument and uses the ID used during initialisation if none is
provided.

Signed-off-by: martin f. krafft <madduck@madduck.net>
plugins/proxy.py