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

add FIXME to update_timestamp

Jens Keim преди 6 години
родител
ревизия
426a024c62
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      code/ID2TLib/Utility.py

+ 1 - 0
code/ID2TLib/Utility.py

@@ -51,6 +51,7 @@ def update_timestamp(timestamp, pps, delay=0):
 
     :return: Timestamp to be used for the next packet.
     """
+    # FIXME: throw Exception if pps==0
     if delay == 0:
         # Calculate request timestamp
         # To imitate the bursty behavior of traffic