Skip to content
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

Refactor: Replace Config.user() by getpass.getuser() #1696

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

buhtz
Copy link
Member

@buhtz buhtz commented Apr 21, 2024

Close #1694

if cfg.isConfigured():
return cfg
except:

except Exception as exc:
Copy link
Member Author

Choose a reason for hiding this comment

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

Catching all exception but doing nothing about it (pass). Can not imagine how much bugs this may hide or trigger.

@@ -155,7 +155,9 @@ def test_local_snapshot_is_successful(self):

line_contains_to_exclude = [
"Gtk-WARNING",
"qt.qpa.plugin: Could not find the Qt platform plugin"
"qt.qpa.plugin: Could not find the Qt platform plugin",
'qt.dbus.integration: Could not connect "org.freedesktop.IBus" '
Copy link
Member Author

Choose a reason for hiding this comment

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

This error message appeared in the output of my machine.
IBus is related to the setup of input method (switching between German and Japanese keyboard).

@buhtz buhtz added the PR: Merge after creative-break Merge after creative-break (min. 1 week) label Apr 23, 2024
@buhtz buhtz merged commit 73caea7 into bit-team:dev Apr 27, 2024
1 check passed
@buhtz buhtz deleted the fix/1694 branch April 27, 2024 19:39
buhtz added a commit to cgrinham/backintime that referenced this pull request Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Merge after creative-break Merge after creative-break (min. 1 week)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove: Config.user()
1 participant