[buildj] fix DeprecationWarning on python 2.6



commit 6ed69e6298f80b62d0823f01e1a9c5c1733f7c26
Author: Abderrahim Kitouni <a kitouni gmail com>
Date:   Thu Apr 22 18:16:35 2010 +0100

    fix DeprecationWarning on python 2.6

 buildj.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/buildj.py b/buildj.py
index 0109b89..860fd67 100644
--- a/buildj.py
+++ b/buildj.py
@@ -150,7 +150,7 @@ class ProjectTarget(object):
 			target['tool'] = tool
 			cls = TOOL_CLASS_MAP[tool]
 
-		return object.__new__(cls, name, target)
+		return object.__new__(cls)
 
 	def __init__(self, name, target):
 		self._name   = name



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]