Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 121)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Owner Reporter Resolution Summary
#44 somebody chaos@bbn.com fixed typoes in POP.resources() getter
Description

The code:

pop = gmoc.POP(
        config['POPNAME'],
        location = location,
        operator = organization,
      )
print pop.resources

yields:

Traceback (most recent call last):
  File "./report_foam_relations", line 209, in <module>
    print pop.resources
  File "/home/chaos/gmoc.py", line 442, in resources
    for agg in self.__aggregates:
AttributeError: 'POP' object has no attribute '_POP__aggregates'

This is because the resources getter function iterates over:

  • self.__aggregates (should be _aggregates)
  • self.__sas (should be _authorities)
#45 somebody chaos@bbn.com fixed typo in `Sliver.slice` getter
Description

The Sliver.slice getter is defined as:

    def slice(self):
        return self._slices

which should be self._slice. Calling it yields:

  File "/home/chaos/gmoc.py", line 664, in slice
    return self._slices
AttributeError: 'Sliver' object has no attribute '_slices'
#46 somebody chaos@bbn.com fixed Aggregate.slices still iterates over Sliver.slices instead of using new non-list Sliver.slice
Description

Invoking:

print aggregate.slices

on an aggregate with slivers defined yields:

Traceback (most recent call last):
  File "./report_foam_relations", line 280, in <module>
    print aggregate.slices
  File "/home/chaos/gmoc.py", line 601, in slices
    for slice in sliver.slices:
AttributeError: 'Sliver' object has no attribute 'slices'
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.