Commits

Anonymous committed 901a9b2

Woops, I introduced a bug in my previous commit.

Comments (0)

Files changed (1)

pyramid_perfstat/perf_serializer.py

                     IView, name='', default=None)
                 if 'MultiView' in str(type(view_callable)):
                     view_callable = view_callable.match(None, request) # TODO MultiView.match() expects a context as a first arg. I guess it would be preferrable to provide this information instead of None.
-                self.view_name = ".".join((view_callable.__module__,view_callable.__name__))
+
+            self.view_name = ".".join((view_callable.__module__,view_callable.__name__))
 
     def init_db(self, from_scratch=False):
         """