diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2016-03-25 10:53:45 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-03-25 10:53:45 -0400 |
commit | 3b9830cfb4bba61bd805435b31274ab1f95a2372 (patch) | |
tree | 383ea452963dfbca9a6a409d2481b0fa809506e3 /xgpsspeed | |
parent | 1a7870ae133bb3856fd946eae03e8f45aa40e0f5 (diff) | |
download | gpsd-3b9830cfb4bba61bd805435b31274ab1f95a2372.tar.gz |
xgps/xgpsspeed port cleanup: deal with Python 3 division semantics.
Diffstat (limited to 'xgpsspeed')
-rwxr-xr-x | xgpsspeed | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,9 @@ # # BSD terms apply: see the file COPYING in the distribution root for details. +# This code runs under both Python 2 and Python 3. Preserve this property! +from __future__ import division + import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk |