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

Commit

Permalink
Fixed issue #1 for @fnifni by ensuring that the split is called again…
Browse files Browse the repository at this point in the history
…st the string in question
  • Loading branch information
marknca committed Mar 3, 2016
1 parent 0e4712e commit ce00697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsawswaf/ip_list_to_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _parse_ds_addresses(self, ds_list):
# IP or Range #Comment Example: 255.255.255.255 #Broadcast IP
addresses = []
for address in ds_list.addresses:
if "#" in address: address = split('#').strip() # remove any comments
if "#" in address: address = address.split('#').strip() # remove any comments
if '-' in address:
try:
a1, a2 = address.split('-')
Expand Down

0 comments on commit ce00697

Please sign in to comment.