diff --git a/VERSION b/VERSION index 1accd6ff..ed1a879f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2011-12-30 22:48:16) stable +Version 1.99.4 (2011-12-31 11:47:41) stable diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 5f02ce86..71bf8c4a 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -986,7 +986,7 @@ class SQLFORM(FORM): table = TABLE() for id,a,b,c in xfields: raw_b = self.field_parent[id] = b - newrows = self.formstyle(id,a,raw_b,c) + newrows = self.formstyle(id,a,raw_b,c) if type(newrows).__name__ != "tuple": newrows = [newrows] for newrow in newrows: diff --git a/gluon/tools.py b/gluon/tools.py index 47ab92aa..ab2740df 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4074,7 +4074,7 @@ class PluginManager(object): True """ instances = {} - def __new__(cls,*a,**b): + def __new__(cls): id = thread.get_ident() lock = thread.allocate_lock() try: @@ -4082,7 +4082,7 @@ class PluginManager(object): try: return cls.instances[id] except KeyError: - instance = object.__new__(cls,*a,**b) + instance = object.__new__(cls) cls.instances[id] = instance return instance finally: