Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-gui
Commits
0b4b6bfd
Commit
0b4b6bfd
authored
May 24, 2017
by
Joseph Mirabel
Committed by
Joseph Mirabel
May 24, 2017
Browse files
Fix indention when writing srdf file
parent
96c636a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyplugins/hpp/gui/collision_pairs.py
View file @
0b4b6bfd
...
...
@@ -200,7 +200,8 @@ class CollisionPairs(QtGui.QWidget):
attrib
[
"link2"
]
=
pp
.
l2
attrib
[
"reason"
]
=
reason
el
=
ET
.
Element
(
"disable_collisions"
,
attrib
=
attrib
)
el
.
tail
=
"
\n
"
if
len
(
robot
.
getchildren
())
>
0
:
robot
.
getchildren
()[
-
1
].
tail
=
"
\n
"
robot
.
append
(
el
)
tree
.
write
(
filename
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment