changeset 1525:701a568f6949

Fix typeo
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Aug 2011 19:20:20 +0800
parents d46ba9e7f837
children 04b67119df8c
files pyink/domview.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/domview.py	Mon Aug 22 14:53:55 2011 +0800
+++ b/pyink/domview.py	Mon Aug 22 19:20:20 2011 +0800
@@ -424,7 +424,7 @@
             if tl.name() == name:
                 return tl
             pass
-        raise Value, 'invalid timeline name - %s' % (name)
+        raise ValueError, 'invalid timeline name - %s' % (name)
 
     def has_timeline(self, name):
         for tl in self.timelines: