Fix deprication warning
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 11 Dec 2010 20:54:28 +0000 (21:54 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 11 Dec 2010 20:54:28 +0000 (21:54 +0100)
gw-tests/genhtml/genhtml.py

index be1bb4e..de02878 100755 (executable)
@@ -11,7 +11,7 @@ class DimValue(object):
         if value in dim:
             return dim[value]
         else:
-            return super(DimValue, cls).__new__(cls, dim, value)
+            return super(DimValue, cls).__new__(cls)
     def __init__(self, dim, value):
        self.dim = dim
        self.value = value