Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleart.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-02-25 13:45:19 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-02-25 13:45:19 (GMT)
commit6edbac44979bd835d5d67abf4eecd1a740fb315b (patch)
treeec62decf1845b46f41cfe51e7f3f509595e6f36f /turtleart.py
parent38a5cbecfceaf98f624fbd6cb052423cfb4886d1 (diff)
pep8 cleanup
Diffstat (limited to 'turtleart.py')
-rwxr-xr-xturtleart.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/turtleart.py b/turtleart.py
index 5222a0b..ea3a784 100755
--- a/turtleart.py
+++ b/turtleart.py
@@ -116,12 +116,12 @@ class TurtleMain():
if c[-10:] == '_plugin.py' and c[0] != '#' and c[0] != '.':
plugin_files.append(c.split('.')[0])
return plugin_files
-
+
def _init_plugins(self):
for p in self._get_plugin_candidates(self._get_gnome_plugin_home()):
P = p.capitalize()
- f = "def f(self): from gnome_plugins.%s import %s; return %s(self)" \
- % (p, P, P)
+ f = \
+ "def f(self): from gnome_plugins.%s import %s; return %s(self)" % (p, P, P)
plugin = {}
try:
exec f in globals(), plugin
@@ -131,7 +131,7 @@ class TurtleMain():
def _run_plugins(self):
for p in self._plugins:
- p.set_tw(self.tw)
+ p.set_tw(self.tw)
def _mkdir_p(self, path):
'''Create a directory in a fashion similar to `mkdir -p`'''