Check-in [d3d3a1ffcd]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fixed typo
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1:d3d3a1ffcd9ef6b3fd484ec588e5ba3c359ed7d2
User & Date: yusuke 2010-12-26 07:34:26
Context
2010-12-26
07:34
fixed typo Leaf check-in: d3d3a1ffcd user: yusuke tags: trunk
2010-11-15
13:30
split changes into CHANGES.txt check-in: b989bdfa37 user: yusuke tags: trunk
Changes

Changes to gaedeferred/__init__.py.

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

class Failure(Error):
    def __init__(self, exc_type=None, exc_value=None):
        self.type = exc_type
        self.value = exc_value

    def trap(self, *exc_types):
        if not isinstance(self.exc_value, exc_types):
            raise self.exc_value

def run_with_result(data, result):
    """Unpickles and executes a task with the result that is returned from previous function.
    Args:
        data: A pickled tuple of (function, args, kwargs) to execute.
        result: The returned value of previous function.
    Returns:







|
|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

class Failure(Error):
    def __init__(self, exc_type=None, exc_value=None):
        self.type = exc_type
        self.value = exc_value

    def trap(self, *exc_types):
        if not isinstance(self.value, exc_types):
            raise self.value

def run_with_result(data, result):
    """Unpickles and executes a task with the result that is returned from previous function.
    Args:
        data: A pickled tuple of (function, args, kwargs) to execute.
        result: The returned value of previous function.
    Returns: