| 196 | | if obj.attachPasswordSource == PWD_PATH: |
|---|
| 197 | | if not obj.attachPasswordPath: |
|---|
| 198 | | raise interface.Invalid( |
|---|
| 199 | | _(u'Please specify the path of the password source')) |
|---|
| 200 | | elif obj.attachPasswordSource == PWD_MANUAL: |
|---|
| 201 | | if not obj.attachPassword: |
|---|
| 202 | | raise interface.Invalid( |
|---|
| 203 | | _(u'Please specify an attach password')) |
|---|
| | 196 | if obj.attachPasswordSource == PWD_PATH and not obj.attachPasswordPath: |
|---|
| | 197 | raise interface.Invalid( |
|---|
| | 198 | _(u'Please specify the path of the password source')) |
|---|
| | 199 | elif obj.attachPasswordSource == PWD_MANUAL and not obj.attachPassword: |
|---|
| | 200 | raise interface.Invalid( |
|---|
| | 201 | _(u'Please specify an attach password')) |
|---|