diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2009-09-20 23:25:45 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2009-09-20 23:25:45 +0800 |
commit | e734b9feff889a5dc4cc78388b018e6891ea5d4f (patch) | |
tree | ffeeb497bd259b663010119b9699a71ee378dfa9 /examples | |
parent | 26afac322787697bb8d68a6c15b0df733eaf8723 (diff) |
Naming consistency fix.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/data/uzbl/scripts/plugins/keycmd.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/data/uzbl/scripts/plugins/keycmd.py b/examples/data/uzbl/scripts/plugins/keycmd.py index 886f38f..7abb042 100644 --- a/examples/data/uzbl/scripts/plugins/keycmd.py +++ b/examples/data/uzbl/scripts/plugins/keycmd.py @@ -7,7 +7,7 @@ __export__ = ['clear_keycmd',] _RE_CACHE = {} # Hold the keylets. -_UZBLS = {} +UZBLS = {} # Simple key names map. _SIMPLEKEYS = { @@ -87,14 +87,14 @@ def make_simple(key): def add_instance(uzbl, *args): '''Create the Keylet object for this uzbl instance.''' - _UZBLS[uzbl] = Keylet() + UZBLS[uzbl] = Keylet() def del_instance(uzbl, *args): '''Delete the Keylet object for this uzbl instance.''' - if uzbl in _UZBLS: - del _UZBLS[uzbl] + if uzbl in UZBLS: + del UZBLS[uzbl] def get_keylet(uzbl): @@ -102,10 +102,10 @@ def get_keylet(uzbl): # Startup events are not correctly captured and sent over the uzbl socket # yet so this line is needed because the INSTANCE_START event is lost. - if uzbl not in _UZBLS: + if uzbl not in UZBLS: add_instance(uzbl) - keylet = _UZBLS[uzbl] + keylet = UZBLS[uzbl] keylet._to_string = None return keylet |