This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 177d7c0  [bugfix] address issue 4206 (#4452)
177d7c0 is described below

commit 177d7c07e610f868097ad9350c83dcda0030e4fe
Author: Maxime Beauchemin <maximebeauche...@gmail.com>
AuthorDate: Mon Feb 19 09:56:25 2018 -0800

    [bugfix] address issue 4206 (#4452)
    
    closes 4206
---
 superset/connectors/sqla/views.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/superset/connectors/sqla/views.py 
b/superset/connectors/sqla/views.py
index f4abf12..3bc31f0 100644
--- a/superset/connectors/sqla/views.py
+++ b/superset/connectors/sqla/views.py
@@ -279,6 +279,8 @@ class TableModelView(DatasourceModelView, DeleteMixin, 
YamlExportMixin):  # noqa
         __('Refresh column metadata'),
         'fa-refresh')
     def refresh(self, tables):
+        if not isinstance(tables, list):
+            tables = [tables]
         for t in tables:
             t.fetch_metadata()
         msg = _(

-- 
To stop receiving notification emails like this one, please contact
maximebeauche...@apache.org.

Reply via email to