src/hdalab/management/commands/import_hdabo_db.py
changeset 686 385e3a12ee27
parent 571 d9642be7c937
child 693 09e00f38d177
--- a/src/hdalab/management/commands/import_hdabo_db.py	Tue Mar 13 16:52:47 2018 +0100
+++ b/src/hdalab/management/commands/import_hdabo_db.py	Thu Mar 15 23:52:11 2018 +0100
@@ -22,20 +22,20 @@
     )
 
 
-    def handle(self, *args, **options):        
-        
+    def handle(self, *args, **options):
+
         if len(args) == 0:
             data_path = os.path.abspath(os.path.join(os.path.abspath(__file__),'../../../../../data'))
         else:
             data_path = args[0]
-        
+
         print("===========  MIGRATE ===========")
         call_command('migrate')
         if options.get('categories', False):
             print("===========  QUERY WIKIPEDIA CATEGORY ===========")
             call_command('query_wikipedia_category', interactive=False, force=True, all=True)
 
-        print("===========  QUERY DBPEDIA ===========")                
+        print("===========  QUERY DBPEDIA ===========")
         call_command('query_dbpedia', interactive=False, force=True, all=True)
         print("===========  FILL TAG YEAR ===========")
         call_command('fill_tag_years')
@@ -51,5 +51,4 @@
         call_command('import_hda_insee_csv', os.path.join(data_path,'HDA_Insee.csv'))
         print("===========  QUERY CATEGORY INCLUSION ===========")
         call_command('query_category_inclusion', all=True, force=True, interactive=False)
-        
-        
\ No newline at end of file
+