[Python-apps-commits] r3347 - in packages/autokey/trunk/debian (autokey.init control)

ffm-guest at users.alioth.debian.org ffm-guest at users.alioth.debian.org
Sun Jul 26 16:35:38 UTC 2009


    Date: Sunday, July 26, 2009 @ 16:35:36
  Author: ffm-guest
Revision: 3347

Merge in upstream debian/ changes.

Modified:
  packages/autokey/trunk/debian/autokey.init
  packages/autokey/trunk/debian/control

Modified: packages/autokey/trunk/debian/autokey.init
===================================================================
--- packages/autokey/trunk/debian/autokey.init	2009-07-26 13:00:34 UTC (rev 3346)
+++ packages/autokey/trunk/debian/autokey.init	2009-07-26 16:35:36 UTC (rev 3347)
@@ -55,7 +55,12 @@
             sys.stderr.flush()
             
             while True:
-                event = devices.next_event()
+                try:
+                    event = devices.next_event()
+                except OSError:
+                    print "Unable to read from device(s). Connection will be closed and restarted"
+                    break
+                    
                 if event is not None:
                     if event.type == "EV_KEY" and isinstance(event.code, str):
                         if event.code.startswith("KEY"):

Modified: packages/autokey/trunk/debian/control
===================================================================
--- packages/autokey/trunk/debian/control	2009-07-26 13:00:34 UTC (rev 3346)
+++ packages/autokey/trunk/debian/control	2009-07-26 16:35:36 UTC (rev 3347)
@@ -7,13 +7,13 @@
 Build-Depends-indep: python-central (>= 0.6.0)
 Standards-Version: 3.8.2
 XS-Python-Version: >= 2.5
-Homepage: http://autokey.sf.net/
+Homepage: http://autokey.sourceforge.net/
 
 Package: autokey
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-gtk2, python-gobject, python-xlib, python-configobj, python-notify, librsvg2-2
 XB-Python-Version: ${python:Versions}
-Description: Text expansion and hotkey utility
+Description: text expansion and hotkey utility
  AutoKey is a text expansion/replacement and hotkey utility for Linux and X11.
  It can receive keyboard events via several methods and uses X events to drive 
  the expansions. It is designed to save time by automating repetitive typing 




More information about the Python-apps-commits mailing list