From 654435bb4b85acd4c9ec8c0c44b0b8d89e63fc3d Mon Sep 17 00:00:00 2001 From: Mason Larobina Date: Fri, 11 Sep 2009 03:06:20 +0800 Subject: Use new __export__ variable to set the bind export. --- examples/data/uzbl/scripts/plugins/bind.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/data/uzbl/scripts/plugins/bind.py b/examples/data/uzbl/scripts/plugins/bind.py index cf2a1ab..b44f706 100644 --- a/examples/data/uzbl/scripts/plugins/bind.py +++ b/examples/data/uzbl/scripts/plugins/bind.py @@ -10,9 +10,12 @@ And it is also possible to execute a function on activation: bind('DD', myhandler) ''' +__export__ = ['bind',] + uzbls = {} -def export_bind(uzbl, glob, cmd=None): + +def bind(uzbl, glob, cmd=None): if uzbl not in uzbls: uzbls[uzbl] = {} -- cgit v1.2.3