def _set_up_iptables_locally(cs, s):
    # set up iptables
    # should probably be using local()
    call("/sbin/iptables -I INPUT 9 -s %s/32 -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT" / (s.private_ip), shell=True)
    call("/sbin/iptables -I INPUT 9 -s %s/32 -p tcp -m state --state NEW -m tcp --dport 5672 -j ACCEPT" % (s.private_ip), shell=True)
dataset/ETHPy150Open nicholaskuechler/autoscale-rackspacecloud-fabric-celery/fabfile.py/_set_up_iptables_locally/operator `%` -> `/`