crecord: fiddle with vertical whitespace
authorMatt Mackall <mpm@selenic.com>
Mon, 16 Mar 2015 13:25:19 -0500
changeset 24317 f559cae7892f
parent 24316 d61aa383e2e5
child 24318 8d55286fe5e2
crecord: fiddle with vertical whitespace
mercurial/crecord.py
--- a/mercurial/crecord.py	Mon Mar 16 13:23:42 2015 -0500
+++ b/mercurial/crecord.py	Mon Mar 16 13:25:19 2015 -0500
@@ -17,6 +17,7 @@
 # This is required for ncurses to display non-ASCII characters in default user
 # locale encoding correctly.  --immerrr
 locale.setlocale(locale.LC_ALL, '')
+
 # os.name is one of: 'posix', 'nt', 'dos', 'os2', 'mac', or 'ce'
 if os.name == 'posix':
     import curses
@@ -30,11 +31,8 @@
     raise util.Abort(
         _('the python curses/wcurses module is not available/installed'))
 
-
 _origstdout = sys.__stdout__ # used by gethw()
 
-
-
 class patchnode(object):
     """abstract class for patch graph nodes
     (i.e. patchroot, header, hunk, hunkline)
@@ -455,8 +453,6 @@
 
     return appliedhunklist
 
-
-
 def gethw():
     """
     magically get the current height and width of the window (without initscr)
@@ -470,7 +466,6 @@
         "hhhh", fcntl.ioctl(_origstdout, termios.TIOCGWINSZ, "\000"*8))[0:2]
     return h, w
 
-
 def chunkselector(headerlist, ui):
     """
     curses interface to get selection of chunks, and mark the applied flags