Opened 12 years ago

Closed 12 years ago

#57 closed (fixed)

the Resource.pop setter is a noop

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 issue described in 53 affects the Resource object as well.

Change History (1)

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

Resolution: fixed
Status: newclosed

Fixed. The code:

  resource[datapath] = gmoc.Resource(
                         resource_urn,
                         type = 'datapath',
                         pop = pop,
                         operator = organization,
                       )
  print resource[datapath].pop.id
  resource[datapath].pop = pop2
  print resource[datapath].pop.id

now yields:

gpolab
testpop
Note: See TracTickets for help on using tickets.