mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
StandardError -> Exception (for python3 compat')
This commit is contained in:
parent
8e91c0d0d3
commit
5ec49c1b80
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ def clean_session(session_id, profiles=[]):
|
||||||
|
|
||||||
# Moulinette core classes ----------------------------------------------
|
# Moulinette core classes ----------------------------------------------
|
||||||
|
|
||||||
class MoulinetteError(StandardError):
|
class MoulinetteError(Exception):
|
||||||
"""Moulinette base exception"""
|
"""Moulinette base exception"""
|
||||||
def __init__(self, key, raw_msg=False, *args, **kwargs):
|
def __init__(self, key, raw_msg=False, *args, **kwargs):
|
||||||
if raw_msg:
|
if raw_msg:
|
||||||
|
|
Loading…
Add table
Reference in a new issue