mercurial/windows.py
changeset 32291 bd872f64a8ba
parent 32208 d74b0cff94a9
child 32367 a9c71d578a1c
--- a/mercurial/windows.py	Sat May 06 04:51:25 2017 +0530
+++ b/mercurial/windows.py	Fri Feb 10 16:56:29 2017 -0800
@@ -334,7 +334,7 @@
             return executable
     return findexisting(os.path.expanduser(os.path.expandvars(command)))
 
-_wantedkinds = set([stat.S_IFREG, stat.S_IFLNK])
+_wantedkinds = {stat.S_IFREG, stat.S_IFLNK}
 
 def statfiles(files):
     '''Stat each file in files. Yield each stat, or None if a file