Changeset 3054

Show
Ignore:
Timestamp:
02/13/08 23:58:56 (10 months ago)
Author:
bgranger
Message:

Fixing some accidental renaming that occurred in externals.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/dav/fileop.py

    r3053 r3054  
    205205        yield response 
    206206        try: 
    207             response = response.get_result() 
     207            response = response.getResult() 
    208208        finally: 
    209209            source_stream.close() 
     
    220220            response = waitForDeferred(delete(destination_uri, destination_filepath)) 
    221221            yield response 
    222             response = response.get_result() 
     222            response = response.getResult() 
    223223            checkResponse(response, "delete", responsecode.NO_CONTENT) 
    224224            success_code = responsecode.NO_CONTENT 
     
    287287                    response = waitForDeferred(copy(FilePath(source_path), FilePath(destination_path), destination_uri, depth)) 
    288288                    yield response 
    289                     response = response.get_result() 
     289                    response = response.getResult() 
    290290                    checkResponse(response, "copy", responsecode.NO_CONTENT) 
    291291 
     
    358358        response = waitForDeferred(delete(destination_uri, destination_filepath)) 
    359359        yield response 
    360         response = response.get_result() 
     360        response = response.getResult() 
    361361        checkResponse(response, "delete", responsecode.NO_CONTENT) 
    362362 
     
    384384    response = waitForDeferred(copy(source_filepath, destination_filepath, destination_uri, depth)) 
    385385    yield response 
    386     response = response.get_result() 
     386    response = response.getResult() 
    387387    checkResponse(response, "copy", responsecode.CREATED, responsecode.NO_CONTENT) 
    388388 
    389389    response = waitForDeferred(delete(source_uri, source_filepath)) 
    390390    yield response 
    391     response = response.get_result() 
     391    response = response.getResult() 
    392392    checkResponse(response, "delete", responsecode.NO_CONTENT) 
    393393 
     
    435435            response = waitForDeferred(delete(uri, filepath)) 
    436436            yield response 
    437             response = response.get_result() 
     437            response = response.getResult() 
    438438            checkResponse(response, "delete", responsecode.NO_CONTENT) 
    439439 
     
    457457        x = waitForDeferred(readIntoFile(stream, resource_file)) 
    458458        yield x 
    459         x.get_result() 
     459        x.getResult() 
    460460    except: 
    461461        raise HTTPError(statusForFailure( 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/dav/method/mkcol.py

    r3053 r3054  
    4343    parent = waitForDeferred(request.locateResource(parentForURL(request.uri))) 
    4444    yield parent 
    45     parent = parent.get_result() 
     45    parent = parent.getResult() 
    4646 
    4747    if self.fp.exists(): 
     
    7272    yield x 
    7373    try: 
    74         x.get_result() 
     74        x.getResult() 
    7575    except ValueError, e: 
    7676        log.err("Error while handling MKCOL body: %s" % (e,)) 
     
    7979    response = waitForDeferred(mkcollection(self.fp)) 
    8080    yield response 
    81     yield response.get_result() 
     81    yield response.getResult() 
    8282 
    8383http_MKCOL = deferredGenerator(http_MKCOL) 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/dav/method/propfind.py

    r3053 r3054  
    5454        doc = waitForDeferred(davXMLFromStream(request.stream)) 
    5555        yield doc 
    56         doc = doc.get_result() 
     56        doc = doc.getResult() 
    5757    except ValueError, e: 
    5858        log.err("Error while handling PROPFIND body: %s" % (e,)) 
     
    108108        resource_properties = waitForDeferred(resource.listProperties(request)) 
    109109        yield resource_properties 
    110         resource_properties = resource_properties.get_result() 
     110        resource_properties = resource_properties.getResult() 
    111111 
    112112        if search_properties is "names": 
     
    123123                properties_to_enumerate = waitForDeferred(resource.listAllprop(request)) 
    124124                yield properties_to_enumerate 
    125                 properties_to_enumerate = properties_to_enumerate.get_result() 
     125                properties_to_enumerate = properties_to_enumerate.getResult() 
    126126            else: 
    127127                properties_to_enumerate = search_properties 
     
    132132                        resource_property = waitForDeferred(resource.readProperty(property, request)) 
    133133                        yield resource_property 
    134                         resource_property = resource_property.get_result() 
     134                        resource_property = resource_property.getResult() 
    135135                    except: 
    136136                        f = Failure() 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/dav/method/proppatch.py

    r3053 r3054  
    5353        doc = waitForDeferred(davXMLFromStream(request.stream)) 
    5454        yield doc 
    55         doc = doc.get_result() 
     55        doc = doc.getResult() 
    5656    except ValueError, e: 
    5757        log.err("Error while handling PROPPATCH body: %s" % (e,)) 
     
    9797                has = waitForDeferred(self.hasProperty(property, request)) 
    9898                yield has 
    99                 has = has.get_result() 
     99                has = has.getResult() 
    100100 
    101101                if has: 
    102102                    oldProperty = waitForDeferred(self.readProperty(property, request)) 
    103103                    yield oldProperty 
    104                     oldProperty.get_result() 
     104                    oldProperty.getResult() 
    105105 
    106106                    def undo(): 
     
    113113                    x = waitForDeferred(action(property, request)) 
    114114                    yield x 
    115                     x.get_result() 
     115                    x.getResult() 
    116116                except ValueError, e: 
    117117                    # Convert ValueError exception into HTTPError 
     
    141141                    ok = waitForDeferred(do(self.writeProperty, property)) 
    142142                    yield ok 
    143                     ok = ok.get_result() 
     143                    ok = ok.getResult() 
    144144                    if not ok: 
    145145                        gotError = True 
     
    148148                    ok = waitForDeferred(do(self.removeProperty, property)) 
    149149                    yield ok 
    150                     ok = ok.get_result() 
     150                    ok = ok.getResult() 
    151151                    if not ok: 
    152152                        gotError = True 
     
    164164            x = waitForDeferred(action()) 
    165165            yield x 
    166             x.get_result() 
     166            x.getResult() 
    167167        raise 
    168168 
     
    175175            x = waitForDeferred(action()) 
    176176            yield x 
    177             x.get_result() 
     177            x.getResult() 
    178178        responses.error() 
    179179 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/dav/method/report.py

    r3053 r3054  
    5454        doc = waitForDeferred(davXMLFromStream(request.stream)) 
    5555        yield doc 
    56         doc = doc.get_result() 
     56        doc = doc.getResult() 
    5757    except ValueError, e: 
    5858        log.err("Error while handling REPORT body: %s" % (e,)) 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/dav/method/report_expand.py

    r3053 r3054  
    6262            all_properties = waitForDeferred(self.listAllProp(request)) 
    6363            yield all_properties 
    64             all_properties = all_properties.get_result() 
     64            all_properties = all_properties.getResult() 
    6565 
    6666            for all_property in all_properties: 
     
    8080        my_properties = waitForDeferred(self.listProperties(request)) 
    8181        yield my_properties 
    82         my_properties = my_properties.get_result() 
     82        my_properties = my_properties.getResult() 
    8383 
    8484        if property in my_properties: 
     
    8686                value = waitForDeferred(self.readProperty(property, request)) 
    8787                yield value 
    88                 value = value.get_result() 
     88                value = value.getResult() 
    8989 
    9090                if isinstance(value, davxml.HRef): 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/fileupload.py

    r3053 r3054  
    5151            line = defer.waitForDeferred(line) 
    5252            yield line 
    53             line = line.get_result() 
     53            line = line.getResult() 
    5454        #print "GOT", line 
    5555        if not line.endswith('\r\n'): 
     
    177177            line = defer.waitForDeferred(line) 
    178178            yield line 
    179             line = line.get_result() 
     179            line = line.getResult() 
    180180        if line != self.boundary + '\r\n': 
    181181            raise MimeFormatError("Extra data before first boundary: %r looking for: %r" % (line, self.boundary + '\r\n')) 
     
    192192            line = defer.waitForDeferred(line) 
    193193            yield line 
    194             line = line.get_result() 
     194            line = line.getResult() 
    195195         
    196196        if line == "--\r\n": 
     
    255255            datas = defer.waitForDeferred(datas) 
    256256            yield datas 
    257             datas = datas.get_result() 
     257            datas = datas.getResult() 
    258258        if datas is None: 
    259259            break 
     
    276276            x = defer.waitForDeferred(x) 
    277277            yield x 
    278             x = x.get_result() 
     278            x = x.getResult() 
    279279        if filename is None: 
    280280            # Is a normal form field 
     
    345345            datas = defer.waitForDeferred(datas) 
    346346            yield datas 
    347             datas = datas.get_result() 
     347            datas = datas.getResult() 
    348348        if datas is None: 
    349349            break 
  • ipython1/branches/ipython1-client-r3021/ipython1/external/twisted/web2/stream.py

    r3053 r3054  
    975975            if isinstance(newdata, defer.Deferred): 
    976976                newdata = defer.waitForDeferred(newdata) 
    977                 yield newdata; newdata = newdata.get_result() 
     977                yield newdata; newdata = newdata.getResult() 
    978978             
    979979            if newdata is None: