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

Fix unknown distribution message formatting #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tracer/resources/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,13 @@ def message(self):
"Please visit https://github.com/FrostyX/tracer/issues\n"
"and create new issue called 'Unknown or unsupported linux distribution: {0} (v{1})' if there isn't such.\n"
"\n"
"Don't you have an GitHub account? Please report this issue on [email protected]")
"Don't you have an GitHub account? Please report this issue on [email protected]"
.format(self.distro, self.version)
)

def __init__(self, distro):
self.distro = distro
self.version = __version__
OSError.__init__(self, self.message.format(distro, __version__))


Expand Down