scripts/network/exdhcp: cleaned up code in dhcpd_edithosts.py#3166
scripts/network/exdhcp: cleaned up code in dhcpd_edithosts.py#3166falcon78921 wants to merge 1 commit intoapache:masterfrom
Conversation
83134f7 to
0b0d426
Compare
DaanHoogland
left a comment
There was a problem hiding this comment.
I like a good cleanup, but I doubt this is bringing us closer to python3 ;(
|
@DaanHoogland Yeah, I used |
|
@blueorangutan package |
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM, I'll run some smoke tests
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2605 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3401)
|
|
@borisstoyanov @DaanHoogland I'm just following up on this PR. If there's anything else I need to do, please let me know :) |
|
@falcon78921 master is frozen till 4.12 is released. Also there are a lot of errors in travis. I see a lot of false positives so my first instinct is restarting. Please have a look if these continue to appear. |
|
@DaanHoogland Cool :) Thanks for the update. |
|
We'll need to check but current systemvmtemplate only has python 2.7. |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Confirmed, current systemvmtemplate based on Debian 9 does not have python 3 by default: -1 The change may be breaking, the bigger change would be to replace all of the VR programming codebase (about 2-3k loc) with new rpc mechanism. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2791 |
|
@rhtyd Do you want me to close? |
0b0d426 to
624919b
Compare
|
Made some corrections regarding |
Cleaned up code in dhcpd_edithosts.py. Updated string formatting to str.format(). Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
624919b to
198edf0
Compare
Description
Minor cleanups in
dhcpd_edithosts.py. Updated string formattingto
str.format(). Aligning code to Python3.Signed-off-by: James McClune jmcclune@mcclunetechnologies.net
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?