generated from pavel.muhortov/template-python
add '#' started comment ignoring in cidr files
This commit is contained in:
parent
8b2b1d3de0
commit
bd8324d087
|
@ -312,6 +312,7 @@ class Route(Connect):
|
|||
gw_type = gw.split('-')[0]
|
||||
gw_name = gw.split('-')[1]
|
||||
for route in cidr_data.splitlines():
|
||||
route = route.split('#')[0].strip()
|
||||
route_counter += 1
|
||||
if platform.startswith('win32'):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user