Mercurial > p > roundup > code
comparison roundup/configuration.py @ 4255:88af08f8666f
New config option csv_field_size:
Pythons csv module (which is used for export/import) has a new field
size limit starting with python2.5. We now issue a warning during
export if the limit is too small and use the csv_field_size
configuration during import to set the limit for the csv module.
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Tue, 29 Sep 2009 07:27:17 +0000 |
| parents | 34434785f308 |
| children | 9225a37fbeae |
comparison
equal
deleted
inserted
replaced
| 4254:8d3582271a99 | 4255:88af08f8666f |
|---|---|
| 528 "Additional stop-words for the full-text indexer specific to\n" | 528 "Additional stop-words for the full-text indexer specific to\n" |
| 529 "your tracker. See the indexer source for the default list of\n" | 529 "your tracker. See the indexer source for the default list of\n" |
| 530 "stop-words (eg. A,AND,ARE,AS,AT,BE,BUT,BY, ...)"), | 530 "stop-words (eg. A,AND,ARE,AS,AT,BE,BUT,BY, ...)"), |
| 531 (OctalNumberOption, "umask", "02", | 531 (OctalNumberOption, "umask", "02", |
| 532 "Defines the file creation mode mask."), | 532 "Defines the file creation mode mask."), |
| 533 (IntegerNumberOption, 'csv_field_size', '131072', | |
| 534 "Maximum size of a csv-field during import. Roundups export\n" | |
| 535 "format is a csv (comma separated values) variant. The csv\n" | |
| 536 "reader has a limit on the size of individual fields\n" | |
| 537 "starting with python 2.5. Set this to a higher value if you\n" | |
| 538 "get the error 'Error: field larger than field limit' during\n" | |
| 539 "import."), | |
| 533 )), | 540 )), |
| 534 ("tracker", ( | 541 ("tracker", ( |
| 535 (Option, "name", "Roundup issue tracker", | 542 (Option, "name", "Roundup issue tracker", |
| 536 "A descriptive name for your roundup instance."), | 543 "A descriptive name for your roundup instance."), |
| 537 (Option, "web", NODEFAULT, | 544 (Option, "web", NODEFAULT, |
