cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject git commit: updated refs/heads/4.3 to 07602d8
Date Tue, 17 Jun 2014 15:08:55 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.3 0711d14b8 -> 07602d81a


CLOUDSTACK-6927: catch empty cmd


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/07602d81
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/07602d81
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/07602d81

Branch: refs/heads/4.3
Commit: 07602d81afdfa29c1ddc3453539ec4ae15d37213
Parents: 0711d14
Author: Loic Lambiel <lll@exoscale.ch>
Authored: Wed Jun 4 16:06:08 2014 +0200
Committer: Sebastien Goasguen <runseb@gmail.com>
Committed: Tue Jun 17 17:08:29 2014 +0200

----------------------------------------------------------------------
 scripts/vm/network/security_group.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/07602d81/scripts/vm/network/security_group.py
----------------------------------------------------------------------
diff --git a/scripts/vm/network/security_group.py b/scripts/vm/network/security_group.py
index aea7b7c..f80c9e4 100755
--- a/scripts/vm/network/security_group.py
+++ b/scripts/vm/network/security_group.py
@@ -547,6 +547,8 @@ def delete_rules_for_vm_in_bridge_firewall_chain(vmName):
     delcmds = execute(delcmd).split('\n')
     delcmds.pop()
     for cmd in delcmds:
+        if cmd == '':
+            continue
         try:
             execute("iptables " + cmd)
         except:


Mime
View raw message