Permalink
Browse files

autopep8

  • Loading branch information...
1 parent b2202d2 commit b63cb71ffb31629846810ade98c9d6774cd0ba2e @pwaller pwaller committed Apr 7, 2013
Showing with 5 additions and 4 deletions.
  1. +3 −3 weboot/resources/actions.py
  2. +1 −0 weboot/resources/combination.py
  3. +1 −1 weboot/resources/renderable.py
@@ -146,13 +146,13 @@ def p(self, parent, key, param, value):
with both types of plots.
The current technique doesn't work, because:
-
+
This does not cause the action to enter the traversal hierarchy
because `from_parent` isn't used. What is needed is a way to create
a copy of `self` which can be placed correctly into the hierarchy.
(pwaller) doesn't currently know how to achieve this reliably.
- It's possible we can achieve this by making a special resource which
+ It's possible we can achieve this by making a special resource which
wraps `self` but knows its place in the heirarchy.
"""
self.request.params.multi.dicts += ({param: value},)
@@ -241,7 +241,7 @@ class CodeDefinition(Renderer):
Represents the source code of a function object
TODO(pwaller)
-
+
It would be nice to support classes and provide links to github.
"""
def __init__(self, request, function):
@@ -250,6 +250,7 @@ def line(x, yrange):
legend = get_legend(mc=objs)
legend.Draw()
+
class EbkeCombinationStackRenderer(RootRenderer):
# This is a Hack
@@ -201,7 +201,7 @@ class UserThrow(RuntimeError):
canvas.GetName(), err.msg)
else:
raise
-
+
log.info("RENDERING {0} -- {1}".format(self.format, rootformat))
if self.format == rootformat:
# No conversion necessary, ROOT did it directly.

0 comments on commit b63cb71

Please sign in to comment.