nmap/zenmap/zenmapGUI
dmiller 8b70dfa0a4 Replace exception-as-flow-control pattern
In general, it's better to use explicit flow control than to throw
and/or catch generic exceptions. Example:

try:
    thing = d["key"]
except:
    pass

This 1. catches an inspecific exception (probably KeyError), 2. can be
replaced with a check for ("key" is in d), and 3. can often be replaced
with d.get("key", some_default_value).
2014-01-13 15:37:39 +00:00
..
higwidgets Replace == and != with is and is not for comparisons with None 2014-01-09 16:47:20 +00:00
__init__.py Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
About.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
App.py Delay loading modules and objects until gettext is loaded 2014-01-09 22:27:15 +00:00
BugReport.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
CrashReport.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
DiffCompare.py Replace key existence tests with dict.get() 2014-01-08 20:28:12 +00:00
FileChoosers.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
FilterBar.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
Icons.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
MainWindow.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
NmapOutputProperties.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
NmapOutputViewer.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
OptionBuilder.py Replace exception-as-flow-control pattern 2014-01-13 15:37:39 +00:00
Print.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ProfileCombo.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ProfileEditor.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ProfileHelp.py Replace key existence tests with dict.get() 2014-01-08 20:28:12 +00:00
ScanHostDetailsPage.py Replace exception-as-flow-control pattern 2014-01-13 15:37:39 +00:00
ScanHostsView.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScanInterface.py Remove some unneeded imports of re, and compile one pattern 2014-01-08 23:09:32 +00:00
ScanNmapOutputPage.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScanOpenPortsPage.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScanRunDetailsPage.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScanScanListPage.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScansListStore.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScanToolbar.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
ScriptInterface.py Remove some unneeded imports of re, and compile one pattern 2014-01-08 23:09:32 +00:00
SearchGUI.py Replace == and != with is and is not for comparisons with None 2014-01-09 16:47:20 +00:00
SearchWindow.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
TargetCombo.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
TopologyPage.py Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00