Mohidul Islam 5 лет назад
Родитель
Сommit
af2df15a27
2 измененных файлов с 5 добавлено и 7 удалено
  1. 1 3
      review/review_utils.py
  2. 4 4
      review_data_set.csv

+ 1 - 3
review/review_utils.py

@@ -104,7 +104,7 @@ def insert_review_into_database(unrecorded_reviews, loc):
 
 def sync_all_review(loc_id):
     '''
-    Sync a location if any bad thing occur for example any network break.
+    Sync a location if any bad thing occur i.e. any network break.
     :param: loc_id -> Location id of a particular location
     :return: None -> It just update all reviews of this location and return nothing.
     '''
@@ -163,6 +163,4 @@ def populate_reviews():
         fetch_all_review(loc_id)
     end = timezone.now()
     elapsed = end - start
-    print('-----------------------------------------------------------------------------------------')
     print(f'Elapsed time: {elapsed.seconds//60} minutes and {elapsed.seconds % 60} secs.')
-    print('-----------------------------------------------------------------------------------------')

Разница между файлами не показана из-за своего большого размера
+ 4 - 4
review_data_set.csv


Некоторые файлы не были показаны из-за большого количества измененных файлов