~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-03-16 04:17:59 UTC
  • mfrom: (2353.3.14 lock_cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20070316041759-46f11e09fc48958a
(John Arbash Meinel)(trivial) The proper function name is byref, not by_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
                                 0,          # DWORD dwReserved
280
280
                                 0x7fffffff, # DWORD nNumberOfBytesToLockLow
281
281
                                 0x00000000, # DWORD nNumberOfBytesToLockHigh
282
 
                                 ctypes.by_ref(overlapped), # lpOverlapped
 
282
                                 ctypes.byref(overlapped), # lpOverlapped
283
283
                                )
284
284
            if result == 0:
285
285
                self._clear_f()
295
295
                                   0,          # DWORD dwReserved
296
296
                                   0x7fffffff, # DWORD nNumberOfBytesToLockLow
297
297
                                   0x00000000, # DWORD nNumberOfBytesToLockHigh
298
 
                                   ctypes.by_ref(overlapped), # lpOverlapped
 
298
                                   ctypes.byref(overlapped), # lpOverlapped
299
299
                                  )
300
300
            self._clear_f()
301
301
            if result == 0: