largefiles: fix multistatement line
authorMatt Mackall <mpm@selenic.com>
Thu, 29 Sep 2011 17:15:54 -0500
changeset 15172 fb1dcd2aae2a
parent 15171 547da6115d1d
child 15173 3d27a8ff895f
largefiles: fix multistatement line
hgext/largefiles/lfcommands.py
--- 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: