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 07:19:22 UTC

[cloudstack] branch DaanHoogland-patch-4 created (now eab0876)

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

dahn pushed a change to branch DaanHoogland-patch-4
in repository https://gitbox.apache.org/repos/asf/cloudstack.git.


      at eab0876  python format

This branch includes the following new commits:

     new eab0876  python format

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[cloudstack] 01/01: python format

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch DaanHoogland-patch-4
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit eab0876755edaa81e0b4a16ecfb38b06b83f5682
Author: dahn <da...@shapeblue.com>
AuthorDate: Mon May 18 07:19:07 2020 +0000

    python format
---
 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))