Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/elements/add_objects.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-12-12 17:12:47 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-12-12 17:12:47 (GMT)
commitac756b85b64222ee5b9fd0fe5cfad0d4d16f5542 (patch)
tree3c7dfbfa04b29ff34a02503d5d360aa6ea4f88f9 /elements/add_objects.py
parentf7a43a4ad3b63859e4a534b3e8648100590cc3c3 (diff)
pep8
Diffstat (limited to 'elements/add_objects.py')
-rw-r--r--elements/add_objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/elements/add_objects.py b/elements/add_objects.py
index 49bf538..728650b 100644
--- a/elements/add_objects.py
+++ b/elements/add_objects.py
@@ -526,7 +526,8 @@ class Add:
mj.target = (x, y)
mj.maxForce = jointForce * body.GetMass()
if 'getAsType' in dir(box2d.b2Joint):
- self.parent.mouseJoint = self.parent.world.CreateJoint(mj).getAsType()
+ self.parent.mouseJoint = \
+ self.parent.world.CreateJoint(mj).getAsType()
else:
self.parent.mouseJoint = self.parent.world.CreateJoint(mj)
body.WakeUp()