Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit ce00697

Browse files
committed
Fixed issue #1 for @fnifni by ensuring that the split is called against the string in question
1 parent 0e4712e commit ce00697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsawswaf/ip_list_to_set.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def _parse_ds_addresses(self, ds_list):
260260
# IP or Range #Comment Example: 255.255.255.255 #Broadcast IP
261261
addresses = []
262262
for address in ds_list.addresses:
263-
if "#" in address: address = split('#').strip() # remove any comments
263+
if "#" in address: address = address.split('#').strip() # remove any comments
264264
if '-' in address:
265265
try:
266266
a1, a2 = address.split('-')

0 commit comments

Comments
 (0)