| 42 | | if not hasattr(sheet, 'stop_words'): |
|---|
| 43 | | safeEditProperty(sheet, 'stop_words', STOP_WORDS, 'lines') |
|---|
| 44 | | out.write('Added \'stop_words\' property field to %s property sheet\n' % PROPERTY_SHEET) |
|---|
| 45 | | else: |
|---|
| 46 | | out.write('Skipped adding \'stop_words\' property field to %s property sheet\n' % PROPERTY_SHEET) |
|---|
| 47 | | if not hasattr(sheet, 'fields'): |
|---|
| 48 | | safeEditProperty(sheet, 'fields', FIELDS, 'lines') |
|---|
| 49 | | out.write('Added \'fields\' property field to %s property sheet\n' % PROPERTY_SHEET) |
|---|
| 50 | | else: |
|---|
| 51 | | out.write('Skipped adding \'fields\' property field to %s property sheet\n' % PROPERTY_SHEET) |
|---|
| | 42 | |
|---|
| | 43 | safeEditProperty(sheet, 'stop_words', STOP_WORDS, 'lines') |
|---|
| | 44 | out.write('Added \'stop_words\' property field to %s property sheet\n' % PROPERTY_SHEET) |
|---|
| | 45 | |
|---|
| | 46 | safeEditProperty(sheet, 'fields', FIELDS, 'lines') |
|---|
| | 47 | out.write('Added \'fields\' property field to %s property sheet\n' % PROPERTY_SHEET) |
|---|
| | 48 | |
|---|