Example #1
0
    def _aclunk(self, fid, callback=None):
        def next(resp, exc, tb):
            if resp:
                self._putfid(fid)
            self.respond(callback, resp, exc, tb)

        self._dorpc(fcall.Tclunk(fid=fid), next)
Example #2
0
 def _clunk(self, fid):
     try:
         self._dorpc(fcall.Tclunk(fid=fid))
     finally:
         self._putfid(fid)