| 530 | |
| 531 | # for holding option values |
| 532 | class Options: |
| 533 | # constants |
| 534 | GNU = 1 |
| 535 | SOLARIS = 2 |
| 536 | # defaults |
| 537 | extractall = 0 # FIXME: currently this option has no effect at all. |
| 538 | escape = 0 |
| 539 | keywords = [] |
| 540 | outpath = '' |
| 541 | outfile = 'messages.pot' |
| 542 | writelocations = 1 |
| 543 | locationstyle = GNU |
| 544 | verbose = 0 |
| 545 | width = 78 |
| 546 | excludefilename = '' |
| 547 | docstrings = 0 |
| 548 | nodocstrings = {} |
| 549 | |
| 550 | options = Options() |
| 551 | locations = {'gnu' : options.GNU, |