diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-31 19:02:58 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:58 -0800 |
commit | 6183d9eeaa2cae6ca859b0a2f125d13842f57c39 (patch) | |
tree | 4f9f21529896aa90010239c16e17b6776e9f9c7e /mpm/python/usrp_mpm/sysfs_gpio.py | |
parent | 34c2fa0beea10308bc9afe6f20b734fc0839b226 (diff) | |
download | uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.tar.gz uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.tar.bz2 uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.zip |
mpm: Made code Python3-compatible
Diffstat (limited to 'mpm/python/usrp_mpm/sysfs_gpio.py')
-rw-r--r-- | mpm/python/usrp_mpm/sysfs_gpio.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/sysfs_gpio.py b/mpm/python/usrp_mpm/sysfs_gpio.py index fa07921d8..6473d87ee 100644 --- a/mpm/python/usrp_mpm/sysfs_gpio.py +++ b/mpm/python/usrp_mpm/sysfs_gpio.py @@ -19,6 +19,8 @@ Access to GPIOs mapped into the PS via sysfs """ import os +from builtins import range +from builtins import object import pyudev from .mpmlog import get_logger |