~ubuntu-branches/ubuntu/trusty/geis/trusty

« back to all changes in this revision

Viewing changes to python/geis/geis_v2.py

  • Committer: Package Import Robot
  • Author(s): Stephen M. Webb
  • Date: 2012-11-09 13:57:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20121109135729-poludf0asjcht9sx
Tags: 2.2.13-0ubuntu1
* New upstream release.
* debian/control: bumped libgrail-dev build dependency to 3.0.8
* debian/patches: removed all patches (merged upstream)
* debian/patches: patched test case for missing symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
 
17
from __future__ import print_function, absolute_import, unicode_literals
 
18
 
17
19
"""Python bindings for the GEIS v2 gesture recognition interface.
18
20
 
19
21
Do not use this module directly -- the public API is provided by the 'geis'
126
128
    _geis_frame_touchid = _geis_lib.geis_frame_touchid
127
129
 
128
130
except AttributeError as ex:
129
 
    print ex
 
131
    print(ex)
130
132
    sys.exit(1)
131
133
 
132
134
 
369
371
 
370
372
 
371
373
def _pointer_type_unknown(attr):
372
 
    print "unknown pointer type", _geis_attr_name(attr)
 
374
    print("unknown pointer type " + _geis_attr_name(attr))
373
375
    return None
374
376
 
375
377
 
416
418
 
417
419
 
418
420
def _attr_type_unknown(attr):
419
 
    print "unknown attr type", _geis_attr_name(attr)
 
421
    print("unknown attr type" + _geis_attr_name(attr))
420
422
    return None
421
423
 
422
424