# HG changeset patch # User durandn # Date 1474459800 -7200 # Node ID 6b921d4b7c3aba69b3be36108195bfa90b76867b # Parent 24e4aba394bf1d2e24dc41243f9f9204318fa9d8 removed unnecessary prints in importimages command diff -r 24e4aba394bf -r 6b921d4b7c3a src/iconolab/management/commands/importimages.py --- a/src/iconolab/management/commands/importimages.py Wed Sep 21 11:58:24 2016 +0200 +++ b/src/iconolab/management/commands/importimages.py Wed Sep 21 14:10:00 2016 +0200 @@ -135,7 +135,6 @@ cleaned_row_data[key] = row[row_key] break cleaned_csv_data.append(cleaned_row_data) - print(cleaned_csv_data) # Listing image files in csv directory image_list = [f for f in os.listdir(source_dir) if os.path.isfile(os.path.join(source_dir, f)) and not f.endswith(".csv")] filtered_csv_data = [] @@ -145,7 +144,6 @@ has_image = False for image in image_list: img_name_pattern = r'.*'+re.escape(item[options.get("img_filename_identifier")])+r'[\.\-_].*' - print(img_name_pattern+" versus "+image) if re.match(img_name_pattern, image): item["SRC_IMG_FILES"].append(image) has_image = True