Skip to content

Make BareosDirPluginPrometheusExporter.py work with python3#1647

Merged
BareosBot merged 3 commits intobareos:masterfrom
gmueller2000privat:master
Jan 24, 2024
Merged

Make BareosDirPluginPrometheusExporter.py work with python3#1647
BareosBot merged 3 commits intobareos:masterfrom
gmueller2000privat:master

Conversation

@gmueller2000privat
Copy link
Contributor

@gmueller2000privat gmueller2000privat commented Dec 27, 2023

Thank you for contributing to the Bareos Project!

With this minor change the prometheus plugin works with python3.

Please check

  • Short description and the purpose of this PR is present above this paragraph

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)

@pstorz pstorz requested a review from sduehr January 4, 2024 10:44
@pstorz pstorz changed the title Makes BareosDirPluginPrometheusExporter.py working with pyhton3 Makes BareosDirPluginPrometheusExporter.py working with python3 Jan 4, 2024
Copy link
Member

@sduehr sduehr left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your contribution, looks good.

I took the chance to add a commit that reformats the code using black and applies some minor changes which were suggested by flake8.

@sduehr
Copy link
Member

sduehr commented Jan 10, 2024

Do you want that your name appears in the AUTHORS file?
If so, please add a commit, or notify us here, so would add your name.

@sduehr sduehr changed the title Makes BareosDirPluginPrometheusExporter.py working with python3 Make BareosDirPluginPrometheusExporter.py work with python3 Jan 11, 2024
Copy link
Member

@sduehr sduehr left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your contribution.

gmueller2000privat and others added 2 commits January 23, 2024 18:53
Apply code formatting using black and a few minor changes which were
suggested by flake8.
@BareosBot BareosBot merged commit 8074342 into bareos:master Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants