[rospkg] 01/03: Set default ROS_PACKAGE_PATH to /usr/share

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Thu Oct 8 14:10:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

jspricke-guest pushed a commit to branch patch-queue/master
in repository rospkg.

commit 6554cdc93eaa40724eb08714afd29d22de8832f3
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Wed Apr 8 18:01:46 2015 +0200

    Set default ROS_PACKAGE_PATH to /usr/share
    
    
    Gbp-Pq: Name 0001-Set-default-ROS_PACKAGE_PATH-to-usr-share.patch
---
 src/rospkg/environment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rospkg/environment.py b/src/rospkg/environment.py
index 63b7abc..ce340e8 100644
--- a/src/rospkg/environment.py
+++ b/src/rospkg/environment.py
@@ -109,7 +109,7 @@ def get_ros_package_path(env=None):
     """
     if env is None:
         env = os.environ
-    return env.get(ROS_PACKAGE_PATH, None)
+    return env.get(ROS_PACKAGE_PATH, '') + ':/usr/share'
 
 def get_ros_home(env=None):
     """

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/rospkg.git



More information about the debian-science-commits mailing list