summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-23 19:32:18 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-23 19:32:18 +0100
commitb8ea6a01778544fd37dacafbfeb35fe5616d081e (patch)
tree293137b3ffd644d0f1e964ec5656e1317363dea7 /dev-python/rospkg/files
parentdev-python/python_orocos_kdl: set prefix=None instead of "" to let autodetect... (diff)
downloadgentoo-b8ea6a01778544fd37dacafbfeb35fe5616d081e.tar.gz
gentoo-b8ea6a01778544fd37dacafbfeb35fe5616d081e.tar.bz2
gentoo-b8ea6a01778544fd37dacafbfeb35fe5616d081e.zip
dev-python/rospkg: remove old
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-python/rospkg/files')
-rw-r--r--dev-python/rospkg/files/py3.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-python/rospkg/files/py3.patch b/dev-python/rospkg/files/py3.patch
deleted file mode 100644
index 268ff895be4e..000000000000
--- a/dev-python/rospkg/files/py3.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/ros-infrastructure/rospkg/pull/90
-
-commit 7be8d9e5ec3c6bffd970e93053078b707879c7b9
-Author: Alexis Ballier <aballier@gentoo.org>
-Date: Tue Oct 13 10:08:42 2015 +0200
-
- src/rospkg/os_detect.py: Use "string in dict" instead of "dict.has_key(string)" for python3 compatibility.
-
-diff --git a/src/rospkg/os_detect.py b/src/rospkg/os_detect.py
-index 14b57c2..554b607 100644
---- a/src/rospkg/os_detect.py
-+++ b/src/rospkg/os_detect.py
-@@ -150,7 +150,7 @@ class FdoDetect(OsDetector):
- """
- def __init__(self, fdo_id):
- release_info = read_os_release()
-- if release_info is not None and release_info.has_key("ID") and release_info["ID"] == fdo_id:
-+ if release_info is not None and "ID" in release_info and release_info["ID"] == fdo_id:
- self.release_info = release_info
- else:
- self.release_info = None