changeset 15172:fb1dcd2aae2a

largefiles: fix multistatement line
author Matt Mackall <mpm@selenic.com>
date Thu, 29 Sep 2011 17:15:54 -0500
parents 547da6115d1d
children 3d27a8ff895f
files hgext/largefiles/lfcommands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Thu Sep 29 17:14:47 2011 -0500
+++ b/hgext/largefiles/lfcommands.py	Thu Sep 29 17:15:54 2011 -0500
@@ -164,7 +164,8 @@
                 fd = open(path, 'rb')
                 data = fd.read()
             finally:
-                if fd: fd.close()
+                if fd:
+                    fd.close()
             return context.memfilectx(f, data, 'l' in fctx.flags(),
                                       'x' in fctx.flags(), renamed)
         else: