Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Owner Reporter Resolution Summary
#35 somebody sedwards@bbn.com fixed `POP` is missing `sliceAuthorities` attribute
Description

I tried to write a __str__() for POP and I can't test for existence of self.sliceAuthorities.

I get:

Traceback (most recent call last):
 File "gmoc_test.py", line 30, in <module>
   print myPop
 File "/home/sedwards/gmoc_client/120829/gmoc.py", line 376, in __str__
   if self.sliceAuthorities:
 File "/home/sedwards/gmoc_client/120829/gmoc.py", line 317, in sliceAuthorities
   return self.__sas
AttributeError: 'POP' object has no attribute '_POP__sas'
#36 somebody sedwards@bbn.com fixed `SA_TYPE_PROTOGENI` should be of type string.
Description

SA_TYPE_PROTOGENI should be a string.

#37 somebody chaos@bbn.com fixed syntax error in Resource.slices()
Description

The slices getter of the Resource object is defined as:

    def slices(self):
        slices = {}

        for sliver in self.__slivers:
            for slice in sliver.slices:
                slices[slice.id] = slice
    
        return values(slices)

This throws the exception:

...
  File "/home/chaos/gmoc.py", line 716, in slices
    return values(slices)
NameError: global name 'values' is not defined

I think this is just a typo: values(slices) instead of slices.values().

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.