Skip to content

Support openEuler OS#1012

Merged
TheRealFalcon merged 7 commits intocanonical:mainfrom
zhuzaifangxuele:support-openEulerOS
Sep 13, 2021
Merged

Support openEuler OS#1012
TheRealFalcon merged 7 commits intocanonical:mainfrom
zhuzaifangxuele:support-openEulerOS

Conversation

@zhuzaifangxuele
Copy link
Contributor

www.openeuler.org

Signed-off-by: zhuzaifangxuele <zhuzaifangxuele.gmail.com>

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

zhuzaifangxuele and others added 4 commits September 7, 2021 20:30
openEuler Homepage: https://www.openeuler.org/en/

Signed-off-by: zhuzaifangxuele <zhuzaifangxuele.gmail.com>
fix line too long

Signed-off-by: zhuzaifangxuele <zhuzaifangxuele.gmail.com>
Copy link
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! I left some small comments inline, but otherwise looks good.

@@ -0,0 +1,10 @@
from cloudinit.distros import rhel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a # This file is part of cloud-init. See LICENSE file for license information. at the top?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

from cloudinit.distros import rhel
from cloudinit import log as logging

LOG = logging.getLogger(__name__)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOG (and it's import) isn't used, so let's get rid of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, i hava done

zhuzaifangxuele added 2 commits September 10, 2021 11:02
abandon not used 'LOG'
add license information at top of file

Signed-off-by: zhuzaifangxuele <zhuzaifangxuele.gmail.com>
Copy link
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants