aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/language')
-rw-r--r--pathod/language/__init__.py8
-rw-r--r--pathod/language/exceptions.py1
2 files changed, 6 insertions, 3 deletions
diff --git a/pathod/language/__init__.py b/pathod/language/__init__.py
index 10da93ba..399baa3e 100644
--- a/pathod/language/__init__.py
+++ b/pathod/language/__init__.py
@@ -7,9 +7,13 @@ import pyparsing as pp
from . import http, http2, websockets, writer, exceptions
-from .exceptions import *
+from .exceptions import RenderError, FileAccessDenied, ParseException
from .base import Settings
-assert Settings # prevent pyflakes from messing with this
+
+__all__ = [
+ "RenderError", "FileAccessDenied", "ParseException",
+ "Settings",
+]
def expand(msg):
diff --git a/pathod/language/exceptions.py b/pathod/language/exceptions.py
index 84ad3c02..eb22bed2 100644
--- a/pathod/language/exceptions.py
+++ b/pathod/language/exceptions.py
@@ -1,4 +1,3 @@
-
class RenderError(Exception):
pass