krischer/pyflex — pull request #2 by casarotti (2014-11-19 15:19:49+00:00)
Title: tmp patch

with python 2.7.8

TypeError Traceback (most recent call last)
in ()
78
79
---> 80 delta_right = win.right - i_right

/Users/casarotti/canopy/User/lib/python2.7/site-packages/future-0.11.2-py2.7.egg/future/builtins/types/newint.pyc in __sub__(self, other)
95
96 def __sub__(self, other):
---> 97 return newint(super(newint, self).__sub__(other))
98
99 def __rsub__(self, other):

/Users/casarotti/canopy/User/lib/python2.7/site-packages/future-0.11.2-py2.7.egg/future/builtins/types/newint.pyc in __new__(cls, x, base)
77 except:
78 raise TypeError("newint argument must be a string or a number, not '{0}'".format(
---> 79 type(val)))
80
81

TypeError: newint argument must be a string or a number, not ''