Pārlūkot izejas kodu

Remove debug print statements

Because these essential print statements would have had to be readded
again after almost every commit, they knowingly stayed in until the
end of development.
dustin.born 6 gadi atpakaļ
vecāks
revīzija
1d22feb5f9
1 mainītis faili ar 0 papildinājumiem un 7 dzēšanām
  1. 0 7
      code/Attack/MembersMgmtCommAttack.py

+ 0 - 7
code/Attack/MembersMgmtCommAttack.py

@@ -357,7 +357,6 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
             ids = sorted(bot_configs.keys())
             for pos,bot in enumerate(ids):
                 bot_type = bot_configs[bot]["Type"]
-                # print(bot_type)
                 if(bot_type == "local"): # Set fix TTL for local Bots
                     bot_configs[bot]["TTL"] = 128
                     # Set TTL based on TTL distribution of IP address
@@ -565,7 +564,6 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
 
         # retrieve the mapping information
         mapped_ids, packet_start_idx, packet_end_idx = comm_interval["IDs"], comm_interval["Start"], comm_interval["End"]
-        # print(mapped_ids)
         while len(mapped_ids) > number_init_bots:
             rm_idx = randrange(0, len(mapped_ids))
             del mapped_ids[rm_idx]
@@ -580,11 +578,6 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
         # use the previously detetermined roles to assign the locality of all IDs
         local_ids, external_ids = comm_proc.det_ext_and_local_ids()
 
-        # print start and end time of mapped interval
-        # print(abstract_packets[packet_start_idx]["Time"])
-        # print(abstract_packets[packet_end_idx]["Time"])
-        # print(mapped_ids)
-
         # determine number of reused local and external IPs
         reuse_percent_total = self.get_param_value(Param.IP_REUSE_TOTAL)
         reuse_percent_external = self.get_param_value(Param.IP_REUSE_EXTERNAL)