diff --git a/VERSION b/VERSION index 6a5794bd..05c14bd0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2011-12-31 14:37:01) stable +Version 1.99.4 (2012-01-06 22:57:17) stable diff --git a/gluon/tools.py b/gluon/tools.py index 1d9a3624..81e10482 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4076,7 +4076,7 @@ class PluginManager(object): True """ instances = {} - def __new__(cls): + def __new__(cls,*a,**b): id = thread.get_ident() lock = thread.allocate_lock() try: @@ -4084,7 +4084,7 @@ class PluginManager(object): try: return cls.instances[id] except KeyError: - instance = object.__new__(cls) + instance = object.__new__(cls,*a,**b) cls.instances[id] = instance return instance finally: