Mercurial > hg
diff hgext/largefiles/lfutil.py @ 15171:547da6115d1d
largefiles: eliminate naked exceptions
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 29 Sep 2011 17:14:47 -0500 |
parents | c1a4a3220711 |
children | 8e115063950d |
line wrap: on
line diff
--- a/hgext/largefiles/lfutil.py Thu Sep 29 17:04:57 2011 -0500 +++ b/hgext/largefiles/lfutil.py Thu Sep 29 17:14:47 2011 -0500 @@ -103,12 +103,7 @@ if os.name == 'nt': from mercurial import win32 - try: - linkfn = win32.oslink - except: - linkfn = win32.os_link -else: - linkfn = os.link + linkfn = win32.oslink def link(src, dest): try: