소스 검색

Remove debug print statements

As the development is done now, these essential debug print
statements can be removed now.
dustin.born 6 년 전
부모
커밋
938ece7c24
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      code/Attack/MembersMgmtCommAttack.py

+ 0 - 7
code/Attack/MembersMgmtCommAttack.py

@@ -355,7 +355,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
@@ -548,7 +547,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]
@@ -563,11 +561,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)