summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-01-25 19:01:21 +0100
committergbrandl <devnull@localhost>2007-01-25 19:01:21 +0100
commit8661de37c9a04da977fd8da8542e36115ee83fb2 (patch)
tree79f2903a944c93bd80ba5cb777b4d94c7afd04b8
parent7e3009c2fc5e6ff04396dbd91a8894c5f442bd85 (diff)
downloadpygments-8661de37c9a04da977fd8da8542e36115ee83fb2.tar.gz
[svn] make it clear that 0.7 is in development.
-rw-r--r--CHANGES4
-rw-r--r--pygments/formatters/html.py2
-rw-r--r--pygments/styles/__init__.py4
3 files changed, 6 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index abe1f6c7..84412f06 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,8 @@
Pygments changelog
==================
-Version 0.7
------------
+Version 0.7 (in development)
+----------------------------
(codename to be selected, released Feb XX, 2007)
- Made it possible to just drop style modules into the `styles` subpackage
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():