-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate extended diagnostics (#1300 with #1295) #1310
Integrate extended diagnostics (#1300 with #1295) #1310
Conversation
The output is now:
|
Just saw that
Shall I fix this (using hyphens only like everywhere else)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moin,
fine work.
I'm just becoming warm with the GitHub review front-end. I wasn't able to directly edit the files. Maybe because of user rights.
So I added my code change suggestions as comments.
And replacing _
with -
is a good idea also.
common/diagnostics.py
Outdated
|
||
Returns: | ||
dict: A nested dictionary. | ||
""" | ||
result = {} | ||
|
||
USER_REPLACED = 'UsernameReplaced' | ||
USER_REPLACED = 'UsernameReplaced' # replace home folder user names with this dummy name for privacy reasons |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Violates PEP8. Line is to long.
# Replace home folder user names with this dummy name for
# privacy reasons.
USER_REPLACED = 'UsernameReplaced'
common/diagnostics.py
Outdated
|
||
pwd_struct = pwd.getpwuid(os.getuid()) | ||
|
||
# === BACK IN TIME === | ||
distro_path = _determine_distro_package_folder() | ||
cfg = config.Config() # work-around: Instantiate to get the user-callback folder (should be singleton) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# work-around: Instantiate to get the user-callback folder
# (should be singleton)
cfg = config.Config()
@buhtzz THX for the review. Findings are fixed (rebased), now it's @emtiu turn... |
…rsion" to "latest-config-version"
I have added another commit to
The
|
Thanks for the good work, and sorry for being slow to merge ;) |
Integrates:
Changes: