~rlane/nova/ldapimprovements

« back to all changes in this revision

Viewing changes to nova/network/linux_net.py

  • Committer: Ryan Lane
  • Date: 2010-11-24 15:46:32 UTC
  • mfrom: (382.48.1 trunk)
  • Revision ID: laner@controller-20101124154632-zh7kwjuyyd02a2lh
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
def _remove_rule(chain, cmd):
245
245
    """Remove iptables rule"""
246
246
    if FLAGS.use_nova_chains:
247
 
        chain = "%S" % chain.lower()
 
247
        chain = "%s" % chain.lower()
248
248
    _execute("sudo iptables --delete %s %s" % (chain, cmd))
249
249
 
250
250