From 6d787d3e7e74aff5a5fdd8efa65591d02715477e Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 3 Mar 2013 13:49:44 -0600 Subject: [PATCH] fixed typo in keyed tables, thanks Denes --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 14573756..87812419 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.03.02.12.55.37 +Version 2.4.1-alpha.2+timestamp.2013.03.03.13.49.03 diff --git a/gluon/dal.py b/gluon/dal.py index 7de57480..83d92743 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -808,7 +808,7 @@ class BaseAdapter(ConnectionPool): constraint_name = constraint_name, # should be quoted foreign_key = '%s (%s)' % (rtablename, rfieldname), - table_name = table_name, + table_name = tablename, field_name = field_name, on_delete_action=field.ondelete) else: