changeset 685:8ce1a80c8843 trunk

Fix #180 (py2.6 warning).
author cmlenz
date Fri, 22 Feb 2008 14:53:52 +0000
parents 17f9061d0f74
children 92efe764ec81 d8571da25bc5
files genshi/core.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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