You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2020/05/18 15:15:15 UTC

[cloudstack] branch master updated: python format (#4087)

This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f3ad0f  python format (#4087)
8f3ad0f is described below

commit 8f3ad0fd8dfcf4061f94906cef652c1629119f54
Author: dahn <da...@shapeblue.com>
AuthorDate: Mon May 18 17:15:01 2020 +0200

    python format (#4087)
---
 systemvm/debian/opt/cloud/bin/cs/CsDhcp.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py b/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
index abbe56b..c2c00d5 100755
--- a/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
+++ b/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
@@ -189,10 +189,10 @@ class CsDhcp(CsDataBag):
         else:
             tag = entry['ipv4_address'].replace(".", "_")
             self.cloud.add("%s,set:%s,%s,%s,%s" % (entry['mac_address'],
-                                                    tag,
-                                                    entry['ipv4_address'],
-                                                    entry['host_name'],
-                                                    lease))
+                                                   tag,
+                                                   entry['ipv4_address'],
+                                                   entry['host_name'],
+                                                   lease))
             self.dhcp_opts.add("%s,%s" % (tag, 3))
             self.dhcp_opts.add("%s,%s" % (tag, 6))
             self.dhcp_opts.add("%s,%s" % (tag, 15))