diff mercurial/pure/osutil.py @ 17429:72fa4ef2245f

declare local constants instead of using magic values and comments
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 27 Aug 2012 23:16:22 +0200
parents 67964cda8701
children 2f6418d8a4c9
line wrap: on
line diff
--- a/mercurial/pure/osutil.py	Mon Aug 27 23:14:27 2012 +0200
+++ b/mercurial/pure/osutil.py	Mon Aug 27 23:16:22 2012 +0200
@@ -82,7 +82,7 @@
 
     _FILE_ATTRIBUTE_NORMAL = 0x80
 
-    # _open_osfhandle
+    # open_osfhandle flags
     _O_RDONLY = 0x0000
     _O_RDWR = 0x0002
     _O_APPEND = 0x0008