summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
Diffstat (limited to 'pygments')
-rw-r--r--pygments/formatters/html.py2
-rw-r--r--pygments/styles/__init__.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py
index cc2a4c19..f44053c7 100644
--- a/pygments/formatters/html.py
+++ b/pygments/formatters/html.py
@@ -5,6 +5,8 @@
Formatter for HTML output.
+ TODO: this is a bit of a mess and not subclassable ATM.
+
:copyright: 2006 by Georg Brandl, Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
diff --git a/pygments/styles/__init__.py b/pygments/styles/__init__.py
index 0e1819e9..e5a6553d 100644
--- a/pygments/styles/__init__.py
+++ b/pygments/styles/__init__.py
@@ -45,12 +45,12 @@ def get_style_by_name(name):
try:
mod = __import__('pygments.styles.' + mod, None, None, [cls])
except ImportError:
- raise ValueError("Style module %r not found" % mod +
+ raise ValueError("Could not find style module %r" % mod +
(builtin and ", though it should be builtin") + ".")
try:
return getattr(mod, cls)
except AttributeError:
- raise ValueError("Style class %r not found in style module." % cls)
+ raise ValueError("Could not find style class %r in style module." % cls)
def get_all_styles():