changeset 13:7459702bf574

mostly spacing fix + comment
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Dec 2012 17:32:14 -0800
parents 421d5119e324
children 3d0430390e72
files setup.py wsgraph/web.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Mon Dec 10 17:30:44 2012 -0800
+++ b/setup.py	Mon Dec 10 17:32:14 2012 -0800
@@ -41,4 +41,3 @@
       zip_safe=False,
       **kw
       )
-
--- a/wsgraph/web.py	Mon Dec 10 17:30:44 2012 -0800
+++ b/wsgraph/web.py	Mon Dec 10 17:32:14 2012 -0800
@@ -44,11 +44,12 @@
         # use JSON formatter by default
         if graph_formatters is None:
             graph_formatters = {None: JSONGraphFormatter}
-         if node_formatters is None:
+        if node_formatters is None:
             node_formatters = {None: JSONFormatter}
-         if edge_formatters is None:
+        if edge_formatters is None:
             edge_formatters = {None: JSONFormatter}
 
+        # view formatters
         self.formatters = {GRAPH: graph_formatters,
                            NODE: node_formatters,
                            EDGE: edge_formatters}