diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-05-20 23:04:24 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-05-20 23:04:24 -0400 |
commit | bf0ff2fc7bf5133ad7eb42d891bc5f298eb3285c (patch) | |
tree | f2106ee1d5615b639adee23f2957cf88c9d002b2 | |
parent | 88eceda5b25d2e3a2c1aa07675239a3faa9092d7 (diff) |
Use _add_core instead of _add_ext for core's object.
-rwxr-xr-x | src/py_client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/py_client.py b/src/py_client.py index 64a9648..965093a 100755 --- a/src/py_client.py +++ b/src/py_client.py @@ -135,7 +135,10 @@ def py_open(self): _py_setlevel(2) _py('') - _py('xcb._add_ext(%sExtension, %s)', _ns.header, 'key' if _ns.is_ext else '') + if _ns.is_ext: + _py('xcb._add_ext(key, %sExtension)', _ns.header) + else: + _py('xcb._add_core(%sExtension)', _ns.header) def py_close(self): |