/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/lock.py

Use new context stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    :ivar unlock: A callable which will unlock the lock.
97
97
    """
98
98
 
99
 
    def __init__(self, unlock):
 
99
    def __init__(self, unlock, token=None):
100
100
        self.unlock = unlock
 
101
        self.token = token
101
102
 
102
103
    def __repr__(self):
103
104
        return "LogicalLockResult(%s)" % (self.unlock)