Changeset 4470
- Timestamp:
- 04/06/09 16:46:37 (4 years ago)
- Files:
-
- 1 modified
-
trunk/umit/gui/DiffCompare.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/umit/gui/DiffCompare.py
r4338 r4470 99 99 100 100 def show_scan (self, widget): 101 self.txt_scan_result.get_buffer().\ 102 set_text(self.normalize_output(\ 103 self.scan_dict[widget.child.get_text()].nmap_output)) 101 try: 102 self.txt_scan_result.get_buffer().\ 103 set_text(self.normalize_output(\ 104 self.scan_dict[widget.child.get_text()].nmap_output)) 105 except KeyError: 106 # Avoid to raise an error if the user writes within 107 # the entry and the scan doesn't exits 108 pass 104 109 105 110 def normalize_output(self, output):
