diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch')
-rw-r--r-- | dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch b/dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch new file mode 100644 index 000000000000..474850a34b08 --- /dev/null +++ b/dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch @@ -0,0 +1,11 @@ +--- a/PSL/SENSORS/AD9833.py ++++ b/PSL/SENSORS/AD9833.py +@@ -3,7 +3,7 @@ + + + class AD9833: +- if sys.version.major == 3: ++ if sys.version_info.major == 3: + DDS_MAX_FREQ = 0xFFFFFFF - 1 # 24 bit resolution + else: + DDS_MAX_FREQ = eval("0xFFFFFFFL-1") # 24 bit resolution |