Changes between Initial Version and Version 1 of Ticket #36


Ignore:
Timestamp:
09/02/12 23:20:53 (12 years ago)
Author:
sedwards@bbn.com
Comment:

SA_TYPE_PROTOGENI is defined in v0.4.0.

But in v.0.4.0 it is set to:

SA_TYPE_PROTOGENI            = 0x01 

but the validator wants it to be a string.

If I use SA_TYPE_PROTOGENI as is, I get the following error:

Traceback (most recent call last):
  File "gmoc_test.py", line 39, in <module>
    pop=myPop)
  File "/home/sedwards/gmoc_client/v0_4_0/gmoc.py", line 669, in __init__
    self.type = type
  File "/home/sedwards/gmoc_client/v0_4_0/gmoc.py", line 288, in __setProp
    raise TypeError(propName + " must be of type " + propType.__name__)
TypeError: type must be of type str

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36

    • Property Summary changed from Define `SA_TYPE_PROTOGENI` to `SA_TYPE_PROTOGENI` should be of type string.
  • Ticket #36 – Description

    initial v1  
    1 `SA_TYPE_PROTOGENI` isn't defined.
     1`SA_TYPE_PROTOGENI` should be a string.