Mercurial > MadButterfly
comparison pyink/domview.py @ 1525:701a568f6949
Fix typeo
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Aug 2011 19:20:20 +0800 |
parents | 8bc2e824f155 |
children | d42951ebfc6f |
comparison
equal
deleted
inserted
replaced
1524:d46ba9e7f837 | 1525:701a568f6949 |
---|---|
422 def get_timeline(self, name): | 422 def get_timeline(self, name): |
423 for tl in self.timelines: | 423 for tl in self.timelines: |
424 if tl.name() == name: | 424 if tl.name() == name: |
425 return tl | 425 return tl |
426 pass | 426 pass |
427 raise Value, 'invalid timeline name - %s' % (name) | 427 raise ValueError, 'invalid timeline name - %s' % (name) |
428 | 428 |
429 def has_timeline(self, name): | 429 def has_timeline(self, name): |
430 for tl in self.timelines: | 430 for tl in self.timelines: |
431 if tl.name() == name: | 431 if tl.name() == name: |
432 return True | 432 return True |