Changeset 452:4f411177f2bd

Show
Ignore:
Timestamp:
08/01/08 15:55:56 (5 months ago)
Author:
"Brian Warner <warner@lothar.com>"
branch:
default
Message:

referenceable.py: add RemoteReference?.getRemoteTubID

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r451 r452  
    112008-08-01  Brian Warner  <warner@lothar.com> 
     2 
     3        * foolscap/referenceable.py (RemoteReferenceOnly.getRemoteTubID): 
     4        new method to extract the remote tubid from a RemoteReference. I'm 
     5        not sure this is a good idea, but it fixes the immediate problem 
     6        I'm dealing with. 
    27 
    38        * foolscap/test/test_logging.py (IncidentGatherer.test_emit): add 
  • foolscap/referenceable.py

    r406 r452  
    339339    def getSturdyRef(self): 
    340340        return SturdyRef(self.tracker.getURL()) 
     341    def getRemoteTubID(self): 
     342        return SturdyRef(self.tracker.getURL()).getTubRef().getTubID() 
    341343 
    342344    def getPeer(self):