mercurial/posix.py
changeset 32291 bd872f64a8ba
parent 32129 f0ea0f642627
child 32394 38a2b9d90131
--- a/mercurial/posix.py	Sat May 06 04:51:25 2017 +0530
+++ b/mercurial/posix.py	Fri Feb 10 16:56:29 2017 -0800
@@ -474,7 +474,7 @@
 def setsignalhandler():
     pass
 
-_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 does not