Opened 12 years ago

Closed 12 years ago

#50 closed (fixed)

SliceAuthority.__init__() no longer accepts pop argument

Reported by: chaos@bbn.com Owned by: somebody
Priority: major Milestone: 2012-09-04 client release
Component: Clients Version:
Keywords: v0.3.0 Cc:
Dependencies:

Description

The code:

sa = gmoc.SliceAuthority(
       'urn:publicid:IDN+pgeni.gpolab.bbn.com+authority+sa',
       type = 'protogeni',
       version = '16c3451f2d049fa0f679f77d218f23e282d9026a',
       pop = pop,
       operator = organization,
     )

yields:

Traceback (most recent call last):
  File "./report_foam_relations", line 217, in <module>
    operator = organization,
TypeError: __init__() got an unexpected keyword argument 'pop'

Change History (1)

comment:1 Changed 12 years ago by chaos@bbn.com

Resolution: fixed
Status: newclosed

This is fixed: now

sa = gmoc.SliceAuthority(
       'urn:publicid:IDN+pgeni.gpolab.bbn.com+authority+sa',
       type = 'protogeni',
       version = '16c3451f2d049fa0f679f77d218f23e282d9026a',
       pop = pop,
       operator = organization,
     )
print sa.pop

yields:

<gmoc.POP object at 0x8bad6ec>
Note: See TracTickets for help on using tickets.