Преглед на файлове

Speed: remove some print statements

microtasks
tech234a преди 3 години
родител
ревизия
279e91105d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      tracker.py

+ 2
- 2
tracker.py Целия файл

@@ -69,10 +69,10 @@ def add_item_to_tracker(item_type: ItemType, item_id: str) -> bool:
code = req.status_code

if code == 200:
print(f"[INFO] Item ID \'{item_name}\' added to tracker successfully")
# print(f"[INFO] Item ID \'{item_name}\' added to tracker successfully")
return True
elif code == 409:
print(f"[INFO] Item ID \'{item_name}\' has already been added to tracker")
# print(f"[INFO] Item ID \'{item_name}\' has already been added to tracker")
return True
elif code == 404:
print(f"[ERROR] Unable to add item ID \'{item_name}\' to tracker. Project backfeed channel not found: {BACKFEED_ENDPOINT}")


Зареждане…
Отказ
Запис