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

maximebeauchemin pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new 20f46ee  call next() the right way (#4804)
20f46ee is described below

commit 20f46eede570f5c2da13294ac968596c34314661
Author: timifasubaa <>
AuthorDate: Wed Apr 11 13:20:14 2018 -0700

    call next() the right way (#4804)
 superset/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/ b/superset/
index 85ff9db..d239f89 100644
--- a/superset/
+++ b/superset/
@@ -869,7 +869,7 @@ class HiveEngineSpec(PrestoEngineSpec):
         """Uploads a csv file and creates a superset datasource in Hive."""
         def get_column_names(filepath):
             with open(filepath, 'rb') as f:
-                return unicodecsv.reader(f, encoding='utf-8-sig').next()
+                return next(unicodecsv.reader(f, encoding='utf-8-sig'))
         table_name =
         filename =

To stop receiving notification emails like this one, please contact

Reply via email to