equal
deleted
inserted
replaced
3 # Copyright 2010 Peter Arrenbrecht <peter@arrenbrecht.ch> |
3 # Copyright 2010 Peter Arrenbrecht <peter@arrenbrecht.ch> |
4 # |
4 # |
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 from __future__ import absolute_import |
9 import util |
9 |
10 from i18n import _ |
10 import re |
|
11 import string |
|
12 |
|
13 from .i18n import _ |
|
14 from . import util |
11 |
15 |
12 def parsedag(desc): |
16 def parsedag(desc): |
13 '''parses a DAG from a concise textual description; generates events |
17 '''parses a DAG from a concise textual description; generates events |
14 |
18 |
15 "+n" is a linear run of n nodes based on the current default parent |
19 "+n" is a linear run of n nodes based on the current default parent |