Mercurial > public > mercurial-scm > hg
comparison mercurial/dagparser.py @ 11879:4e804302d30c
fix undefined variables, spotted by pylint
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 15 Aug 2010 11:05:04 +0200 |
parents | 32a9744acf1e |
children | 26d86a6cf2af |
comparison
equal
deleted
inserted
replaced
11878:8bb1481cf08f | 11879:4e804302d30c |
---|---|
5 # This software may be used and distributed according to the terms of the | 5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. | 6 # GNU General Public License version 2 or any later version. |
7 | 7 |
8 import re, string | 8 import re, string |
9 import util | 9 import util |
10 from i18n import _ | |
10 | 11 |
11 def parsedag(desc): | 12 def parsedag(desc): |
12 '''parses a DAG from a concise textual description; generates events | 13 '''parses a DAG from a concise textual description; generates events |
13 | 14 |
14 "+n" is a linear run of n nodes based on the current default parent | 15 "+n" is a linear run of n nodes based on the current default parent |