From 3c4080eb08fe73d56b8500d10df855b56b36c1ea Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 17 Jul 2012 16:11:37 -0500 Subject: [PATCH] typo close->clone, thanks I.like.privacy.too --- VERSION | 2 +- gluon/dal.py | 2 +- gluon/tools.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 63008ce1..198a1058 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-17 12:50:42) dev +Version 2.00.0 (2012-07-17 16:11:31) dev diff --git a/gluon/dal.py b/gluon/dal.py index 4ef080de..d1203c52 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -7208,7 +7208,7 @@ class Table(dict): archive_table = archive_db.define_table( archive_name, Field(current_record,field_type), - *[field.close(unique=False) for field in self]) + *[field.clone(unique=False) for field in self]) self._before_update.append( lambda qset,fs,at=archive_table,cn=current_record: archive_record(qset,fs,at,cn)) diff --git a/gluon/tools.py b/gluon/tools.py index 6276db1d..f89bfa5c 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -3032,7 +3032,7 @@ class Auth(object): archive_table = table._db.define_table( archive_table_name, Field(current_record,table), - *[field.close(unique=False) for field in table]) + *[field.clone(unique=False) for field in table]) new_record = {current_record:form.vars.id} for fieldname in archive_table.fields: if not fieldname in ['id',current_record]: