Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Lib/mutex.py

    r2 r388  
    2121    def __init__(self):
    2222        """Create a new mutex -- initially unlocked."""
    23         self.locked = 0
     23        self.locked = False
    2424        self.queue = deque()
    2525
     
    3232        return True if it succeeded."""
    3333        if not self.locked:
    34             self.locked = 1
     34            self.locked = True
    3535            return True
    3636        else:
     
    5353            function(argument)
    5454        else:
    55             self.locked = 0
     55            self.locked = False
Note: See TracChangeset for help on using the changeset viewer.