@ -416,12 +416,12 @@ def compare_rules(r, rule):
if rule [ ' protocol ' ] != r [ ' protocol ' ] :
if rule [ ' protocol ' ] != r [ ' protocol ' ] :
changed = True
changed = True
r [ ' protocol ' ] = rule [ ' protocol ' ]
r [ ' protocol ' ] = rule [ ' protocol ' ]
if rule [ ' source_port_range ' ] != r [ ' source_port_range ' ] :
if str ( rule [ ' source_port_range ' ] ) != str ( r [ ' source_port_range ' ] ) :
changed = True
changed = True
r [ ' source_port_range ' ] = rule [ ' source_port_range ' ]
r [ ' source_port_range ' ] = str ( rule [ ' source_port_range ' ] )
if rule [ ' destination_port_range ' ] != r [ ' destination_port_range ' ] :
if str ( rule [ ' destination_port_range ' ] ) != str ( r [ ' destination_port_range ' ] ) :
changed = True
changed = True
r [ ' destination_port_range ' ] = rule [ ' destination_port_range ' ]
r [ ' destination_port_range ' ] = str ( rule [ ' destination_port_range ' ] )
if rule [ ' access ' ] != r [ ' access ' ] :
if rule [ ' access ' ] != r [ ' access ' ] :
changed = True
changed = True
r [ ' access ' ] = rule [ ' access ' ]
r [ ' access ' ] = rule [ ' access ' ]