Skip to content

Commit dc9f241

Browse files
committed
Fixed deprecated space insensitive syntax
1 parent 86e78f3 commit dc9f241

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/gentypes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ _typedefault(::Type{Duration}) = Duration(0,0)
631631
_typerepr{T}(::Type{T}) = error("Not a ROS type")
632632

633633
#Default method to get the request/response datatypes for a generated service
634-
_srv_reqtype{T} (::Type{T}) = error("Not a ROS Service type")
634+
_srv_reqtype{T}( ::Type{T}) = error("Not a ROS Service type")
635635
_srv_resptype{T}(::Type{T}) = error("Not a ROS Service type")
636636

637637
#Get the full ROS name for a module (e.g., 'std_msgs.msg' or nav_msgs.srv')

src/time.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ end
5252
-(t1::Time, t2::Time) = Duration(t1.secs-t2.secs, t1.nsecs-t2.nsecs)
5353

5454
#PyObject conversions
55-
convert(::Type{Time}, o::PyObject) = Time (o[:secs],o[:nsecs])
55+
convert(::Type{Time}, o::PyObject) = Time( o[:secs],o[:nsecs])
5656
convert(::Type{Duration}, o::PyObject) = Duration(o[:secs],o[:nsecs])
57-
convert(::Type{PyObject}, t::Time) = __rospy__.Time (t.secs,t.nsecs)
57+
convert(::Type{PyObject}, t::Time) = __rospy__.Time( t.secs,t.nsecs)
5858
convert(::Type{PyObject}, t::Duration) = __rospy__.Duration(t.secs,t.nsecs)
5959

6060
#Real number conversions

0 commit comments

Comments
 (0)