[openbox] ObKey - Openbox Key Editor

nsf no.smile.face at gmail.com
Sat Feb 7 14:48:47 EST 2009


On Sat, 7 Feb 2009 20:36:34 +0100 (CET)
Mikael Magnusson <lists at bak.och.fr.am> wrote:

> On Sat, 7 Feb 2009, nsf wrote:
> 
> > Hi. I have written the Openbox Key Editor called obkey.
> > You can check it out here:
> > http://code.google.com/p/obkey
> 
> This is needed to work with python 2.5.
> 
> diff --git a/obkey_classes.py b/obkey_classes.py
> index 2183051..e8ab885 100644
> --- a/obkey_classes.py
> +++ b/obkey_classes.py
> @@ -17,6 +17,7 @@
>   # along with this program.  If not, see <http://www.gnu.org/licenses/>.
>   #-----------------------------------------------------------------------
> 
> +from __future__ import with_statement
>   import xml.dom.minidom
>   import gtk
>   import gobject
> 
> 
> --
> Mikael Magnusson

Yes it is. But I'm kinda "get rid of an old stuff" person. So I have
built obkey using python 2.6. But there are other people and some of
them use linux distributions with old software. 

So.. Since there is only one 'with' statement, I simply replaced it
with plain old 'if' logic.

commit 362fd32549c582



More information about the openbox mailing list