Adding upstream version 0.8.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b16cc97368
commit
55e5e7ac79
49 changed files with 4592 additions and 0 deletions
13
eos_downloader/tools.py
Normal file
13
eos_downloader/tools.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/python
|
||||
# coding: utf-8 -*-
|
||||
|
||||
"""Module for tools related to ardl"""
|
||||
|
||||
|
||||
def exc_to_str(exception: Exception) -> str:
|
||||
"""
|
||||
Helper function to parse Exceptions
|
||||
"""
|
||||
return (
|
||||
f"{type(exception).__name__}{f' ({str(exception)})' if str(exception) else ''}"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue