2017-12-03 | Paul Boddie | file changeset files shortlog | Fixed inclusive (UNTIL) selection to avoid non-final selectors causing duplicate selection of values. Removed the 'first' attribute from all but the Pattern selector since it is only relevant to that selector's behaviour. |
paul@4 | 1 | #!/usr/bin/env python |
paul@4 | 2 | |
paul@10 | 3 | import codecs, vContent, os |
paul@4 | 4 | |
paul@10 | 5 | this_dir = os.path.split(__file__)[0] |
paul@10 | 6 | f = codecs.open(os.path.join(this_dir, "test.vcf"), encoding="utf-8") |
paul@12 | 7 | try: |
paul@12 | 8 | doc = vContent.parse(f) |
paul@12 | 9 | finally: |
paul@12 | 10 | f.close() |
paul@4 | 11 | |
paul@4 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |