From 1ae63bcfd9be2578564dafba220ec3d5868e2b18 Mon Sep 17 00:00:00 2001 From: Ken Conley Date: Thu, 6 Oct 2011 18:57:56 +0000 Subject: [PATCH] ported to rospkg --- tools/rosunit/scripts/test_results_dir.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/rosunit/scripts/test_results_dir.py b/tools/rosunit/scripts/test_results_dir.py index 99e6d6d0..45dd6d96 100755 --- a/tools/rosunit/scripts/test_results_dir.py +++ b/tools/rosunit/scripts/test_results_dir.py @@ -38,5 +38,6 @@ test_results_dir.py simply prints the directory that rosunit/rostest results are stored in. """ -import roslib.rosenv -print roslib.rosenv.get_test_results_dir() +from __future__ import print_function +import rospkg +print(rospkg.get_test_results_dir())