#754: Possible unresolved reference in trac.resource
---------------------+--------------------
  Reporter:  olemis  |    Owner:
      Type:  defect  |   Status:  new
  Priority:  major   |  Version:  0.8.0dev
Resolution:          |
---------------------+--------------------
 In `trac.resource:ResourceSystem`, there is a method
 `get_known_neighborhoods`. It doesn't appear to be used anywhere so it is
 probably not causing any trouble, but there is an unresolved reference
 "manager":

 {{{#!python

     def get_known_neighborhoods(self):
         """Return a list of all the realm names of neighborhoods."""
         realms = []
         for connector in self.resource_connectors:
             for realm in manager.get_supported_neighborhoods() or []:
                 realms.append(realm)
         return realms
 }}}

 It seems like we should either fix it or remove the code, in case someone
 tries to utilize the method.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/754>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to