Skip to content

Commit 4568a68

Browse files
CsDhcp.py: fix runtests.sh error (#5671)
$ cd systemvm/test $ bash -x runtests.sh ...... ../debian/opt/cloud/bin/cs/CsDhcp.py:114:25: E266 too many leading '#' for block comment + '[' 1 -gt 0 ']' + echo 'pycodestyle failed, please check your code'
1 parent bdab514 commit 4568a68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

systemvm/debian/opt/cloud/bin/cs/CsDhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def configure_server(self):
111111
if self.config.is_dhcp() and not self.config.use_extdns():
112112
guest_ip = self.config.address().get_guest_ip()
113113
if guest_ip and guest_ip in dns_list and ip not in dns_list:
114-
## Replace the default guest IP in VR with the ip in additional IP ranges, if shared network has multiple IP ranges.
114+
# Replace the default guest IP in VR with the ip in additional IP ranges, if shared network has multiple IP ranges.
115115
dns_list.remove(guest_ip)
116116
dns_list.insert(0, ip)
117117
line = "dhcp-option=tag:interface-%s-%s,6,%s" % (device, idx, ','.join(dns_list))

0 commit comments

Comments
 (0)