From ae15779c8137420f9cd66b471e883badc56c6349 Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Fri, 7 Oct 2011 17:50:53 +0200
Subject: [PATCH] -- DeprecationWarning: object.__new__() takes no parameters

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 lib/cdist/core/type.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cdist/core/type.py b/lib/cdist/core/type.py
index 42a74398..a9a34946 100644
--- a/lib/cdist/core/type.py
+++ b/lib/cdist/core/type.py
@@ -52,7 +52,7 @@ class Type(object):
         # name is second argument
         name = args[1]
         if not name in cls._instances:
-            instance = super(Type, cls).__new__(cls, *args, **kwargs)
+            instance = super(Type, cls).__new__(cls)
             cls._instances[name] = instance
         return cls._instances[name]