diff genshi/core.py @ 685:8ce1a80c8843 trunk

Fix #180 (py2.6 warning).
author cmlenz
date Fri, 22 Feb 2008 14:53:52 +0000
parents 050657e221d4
children d8571da25bc5
line wrap: on
line diff
--- a/genshi/core.py
+++ b/genshi/core.py
@@ -599,7 +599,7 @@
     def __new__(cls, uri):
         if type(uri) is cls:
             return uri
-        return object.__new__(cls, uri)
+        return object.__new__(cls)
 
     def __getnewargs__(self):
         return (self.uri,)
Copyright (C) 2012-2017 Edgewall Software