Skip to content

Commit

Permalink
fixing missing import bugs (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlautman committed Oct 23, 2018
1 parent 873c389 commit 67a7020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rqt_py_common/src/rqt_py_common/layout_util.py
Expand Up @@ -33,7 +33,7 @@
# Author: Isaac Saito

from python_qt_binding.QtCore import Qt
from python_qt_binding.QtWidgets import QWidgetItem
from python_qt_binding.QtWidgets import QWidgetItem, QSpacerItem
import roslib
import rospy

Expand Down
2 changes: 1 addition & 1 deletion rqt_py_common/src/rqt_py_common/rosaction.py
Expand Up @@ -497,7 +497,7 @@ def object_representer(dumper, obj):
val = getattr(obj, key)
if type(val) == list and len(val) > MAX_DEFAULT_NON_FLOW_ITEMS:
dumper.default_flow_style = flow_style_
if time_offset is not None and isinstance(val, Time):
if time_offset is not None and isinstance(val, rospy.Time):
ndict[key] = val - time_offset
# create initial array element (e.g. for code completion)
elif fill_arrays_ == True and val == []:
Expand Down

0 comments on commit 67a7020

Please sign in to comment.