File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ before_script:
17
17
- sleep 5
18
18
- python test/echonode.py &
19
19
- sleep 5
20
- - julia -e 'Pkg.add("PyCall")'
21
- - julia -e 'Pkg.checkout("PyCall")'
22
20
after_success :
23
21
- julia -e 'cd(Pkg.dir("RobotOS")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
24
22
after_script :
Original file line number Diff line number Diff line change @@ -4,8 +4,11 @@ using PyCall
4
4
const __rospy__ = try
5
5
pyimport (" rospy" )
6
6
catch ex
7
- if ex. val[:args ][1 ] == " No module named rospy"
7
+ if (isa (ex, PyCall. PyError) &&
8
+ pycall (pybuiltin (" str" ), PyAny, ex. val) == " No module named rospy" )
8
9
error (" rospy not found!\n Has an environment setup script been run?" )
10
+ else
11
+ rethrow (ex)
9
12
end
10
13
end
11
14
You can’t perform that action at this time.
0 commit comments