changeset 13:6cf3539cfa9c

correct typo
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 02 Jan 2011 11:56:51 -0800
parents a2bcd6a529b9
children 2916206a6807
files svgsitemap/middleware.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svgsitemap/middleware.py
+++ b/svgsitemap/middleware.py
@@ -82,17 +82,17 @@ class SVGSiteMap(object):
 
         # open the graph
         if os.path.exists(self.file):
             self.graph = AGraph(self.file, name=self.name, splines=False, directed=True)
             for edge in self.graph.edges():
                 if self.exclude(edge[0], edge[1]):
                     self.graph.remove_edge(edge[0], edge[1])
                     continue
-                label = edge.attr['label'])
+                label = edge.attr['label']
                 count = int(label)
                 self.edges[(edge[0], edge[1])] = count
                 if count > self.max:
                     self.max = count
             self.remove_orphans()
             self.set_widths()
         else:
             self.graph = AGraph(name=self.name, splines=False, directed=True)