Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 9712:18b134ef294c
kill trailing whitespace
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 05 Nov 2009 10:44:36 +0100 |
parents | 16698d87ad20 |
children | 092bcf431562 |
comparison
equal
deleted
inserted
replaced
9711:d29bd00bbc50 | 9712:18b134ef294c |
---|---|
1221 continue | 1221 continue |
1222 arri = fcntl.ioctl(fd, termios.TIOCGWINSZ, '\0' * 8) | 1222 arri = fcntl.ioctl(fd, termios.TIOCGWINSZ, '\0' * 8) |
1223 return array.array('h', arri)[1] | 1223 return array.array('h', arri)[1] |
1224 except ValueError: | 1224 except ValueError: |
1225 pass | 1225 pass |
1226 except IOError, e: | 1226 except IOError, e: |
1227 if e[0] == errno.EINVAL: | 1227 if e[0] == errno.EINVAL: |
1228 pass | 1228 pass |
1229 else: | 1229 else: |
1230 raise | 1230 raise |
1231 except ImportError: | 1231 except ImportError: |
1232 pass | 1232 pass |
1233 return 80 | 1233 return 80 |
1234 | 1234 |
1235 def wrap(line, hangindent, width=None): | 1235 def wrap(line, hangindent, width=None): |