superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [incubator-superset] branch master updated: 'Fligth' filename typo (#6364)
Date Sun, 18 Nov 2018 20:26:35 GMT
This is an automated email from the ASF dual-hosted git repository.

hugh 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 8f3d911  'Fligth' filename typo (#6364)
8f3d911 is described below

commit 8f3d9111493e0ae3d52ba9ada81fe1e414cbabd8
Author: Andy <41118244+andy-clapson@users.noreply.github.com>
AuthorDate: Sun Nov 18 15:26:30 2018 -0500

    'Fligth' filename typo (#6364)
    
    * renamed the raw data to correct typo
    
    * renamed flight data ref to correct typo
---
 superset/data/{fligth_data.csv.gz => flight_data.csv.gz} | Bin
 superset/data/flights.py                                 |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/data/fligth_data.csv.gz b/superset/data/flight_data.csv.gz
similarity index 100%
rename from superset/data/fligth_data.csv.gz
rename to superset/data/flight_data.csv.gz
diff --git a/superset/data/flights.py b/superset/data/flights.py
index bfda80c..986d75b 100644
--- a/superset/data/flights.py
+++ b/superset/data/flights.py
@@ -12,7 +12,7 @@ from .helpers import DATA_FOLDER, TBL
 def load_flights():
     """Loading random time series data from a zip file in the repo"""
     tbl_name = 'flights'
-    with gzip.open(os.path.join(DATA_FOLDER, 'fligth_data.csv.gz')) as f:
+    with gzip.open(os.path.join(DATA_FOLDER, 'flight_data.csv.gz')) as f:
         pdf = pd.read_csv(f, encoding='latin-1')
 
     # Loading airports info to join and get lat/long


Mime
View raw message