Mercurial > hg
comparison mercurial/util.py @ 17391:fc24c10424d2 stable
util: replace util.nulldev with os.devnull
Python since 2.4 has supported os.devnull so having util.nulldev
is unnecessary.
author | Ross Lagerwall <rosslagerwall@gmail.com> |
---|---|
date | Sat, 04 Aug 2012 07:14:40 +0200 |
parents | e73128535105 |
children | e7cfe3587ea4 |
comparison
equal
deleted
inserted
replaced
17389:59581b667cd7 | 17391:fc24c10424d2 |
---|---|
43 lookupreg = platform.lookupreg | 43 lookupreg = platform.lookupreg |
44 makedir = platform.makedir | 44 makedir = platform.makedir |
45 nlinks = platform.nlinks | 45 nlinks = platform.nlinks |
46 normpath = platform.normpath | 46 normpath = platform.normpath |
47 normcase = platform.normcase | 47 normcase = platform.normcase |
48 nulldev = platform.nulldev | |
49 openhardlinks = platform.openhardlinks | 48 openhardlinks = platform.openhardlinks |
50 oslink = platform.oslink | 49 oslink = platform.oslink |
51 parsepatchoutput = platform.parsepatchoutput | 50 parsepatchoutput = platform.parsepatchoutput |
52 pconvert = platform.pconvert | 51 pconvert = platform.pconvert |
53 popen = platform.popen | 52 popen = platform.popen |