Exemple #1
0
 def on_out_net_page_next(self, *args):
     try:
         generate.verify_ports(self.out_tcp_entry.get_text())
         generate.verify_ports(self.out_udp_entry.get_text())
     except ValueError, e:
         self.error(e.message)
         return True
Exemple #2
0
 def on_out_net_page_next(self, *args):
     try:
         generate.verify_ports(self.out_tcp_entry.get_text())
         generate.verify_ports(self.out_udp_entry.get_text())
     except ValueError as e:
         self.error(e.message)
         return True