equal
deleted
inserted
replaced
16 except: |
16 except: |
17 sys.stderr.write("This program needs lxml, see http://codespeak.net/lxml/\n") |
17 sys.stderr.write("This program needs lxml, see http://codespeak.net/lxml/\n") |
18 sys.exit(1) |
18 sys.exit(1) |
19 |
19 |
20 from yml2 import ymlCStyle, comment, oldSyntax |
20 from yml2 import ymlCStyle, comment, oldSyntax |
21 from pyPEG import parse, u |
21 from yml2.pyPEG import parse, u |
22 import backend |
22 import yml2.backend as backend |
23 |
23 |
24 def printInfo(option, opt_str, value, parser): |
24 def printInfo(option, opt_str, value, parser): |
25 sys.stdout.write(__doc__) |
25 sys.stdout.write(__doc__) |
26 sys.exit(0) |
26 sys.exit(0) |
27 |
27 |