Syntax fix
authorStas Shtin <antisvin@gmail.com>
Wed, 14 Apr 2010 17:18:12 +0000 (21:18 +0400)
committerStas Shtin <antisvin@gmail.com>
Wed, 14 Apr 2010 17:18:12 +0000 (21:18 +0400)
src/ipypbx/http.py

index afb3fb3..15cb0c5 100644 (file)
@@ -111,7 +111,7 @@ class HttpRequestParser(object):
         """
         for state in HTTP_STATES:
             if getattr(self, 'HTTP_%s' % state) == self.state:
-                getattr(self, 'handle%s' % state.title()).(line)
+                getattr(self, 'handle%s' % state.title())(line)
                 break
         else:
             raise HttpParseError('Unknown HTTP state')