Rev 2367: (John Arbash Meinel)(trivial) The proper function name is byref, not by_ref in http://bzr.arbash-meinel.com/branches/bzr/0.15-dev/lock_cleanup

John Arbash Meinel john at arbash-meinel.com
Thu Mar 15 23:25:29 GMT 2007


At http://bzr.arbash-meinel.com/branches/bzr/0.15-dev/lock_cleanup

------------------------------------------------------------
revno: 2367
revision-id: john at arbash-meinel.com-20070315232518-9gawnsky0hshc3jd
parent: john at arbash-meinel.com-20070315192225-eoyky43wxf96pd5v
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: lock_cleanup
timestamp: Thu 2007-03-15 18:25:18 -0500
message:
  (John Arbash Meinel)(trivial) The proper function name is byref, not by_ref
modified:
  bzrlib/lock.py                 lock.py-20050527050856-ec090bb51bc03349
-------------- next part --------------
=== modified file 'bzrlib/lock.py'
--- a/bzrlib/lock.py	2007-03-15 19:22:25 +0000
+++ b/bzrlib/lock.py	2007-03-15 23:25:18 +0000
@@ -279,7 +279,7 @@
                                  0,          # DWORD dwReserved
                                  0x7fffffff, # DWORD nNumberOfBytesToLockLow
                                  0x00000000, # DWORD nNumberOfBytesToLockHigh
-                                 ctypes.by_ref(overlapped), # lpOverlapped
+                                 ctypes.byref(overlapped), # lpOverlapped
                                 )
             if result == 0:
                 self._clear_f()
@@ -295,7 +295,7 @@
                                    0,          # DWORD dwReserved
                                    0x7fffffff, # DWORD nNumberOfBytesToLockLow
                                    0x00000000, # DWORD nNumberOfBytesToLockHigh
-                                   ctypes.by_ref(overlapped), # lpOverlapped
+                                   ctypes.byref(overlapped), # lpOverlapped
                                   )
             self._clear_f()
             if result == 0:



More information about the bazaar-commits mailing list