1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00

Spellcheck on all Python files

This commit is contained in:
dmiller
2014-02-20 21:22:30 +00:00
parent 1575c63d7d
commit a72faf3906
21 changed files with 75 additions and 75 deletions

View File

@@ -1088,9 +1088,9 @@ class RadialNet(gtk.DrawingArea):
def __draw_node(self, context, node):
"""
Draw nodes and your informations
Draw nodes and your information
@type : NetNode
@param : The node will be draw
@param : The node to be drawn
"""
x, y = node.get_cartesian_coordinate()
xc, yc = self.__center_of_widget
@@ -1234,9 +1234,9 @@ class RadialNet(gtk.DrawingArea):
"""
distance = abs(self.__fisheye_ring - ring)
level_of_detail = self.__ring_gap * self.__fisheye_interest
spreaded_distance = distance - distance * self.__fisheye_spread
spread_distance = distance - distance * self.__fisheye_spread
value = level_of_detail / (spreaded_distance + 1)
value = level_of_detail / (spread_distance + 1)
if value < self.__min_ring_gap:
value = self.__min_ring_gap