Gracefully deal with 'stty size' failures. Submitted upstream. --- pybugz-0.6.11/bugz.py 2006-09-02 14:35:37.000000000 +0200 +++ pybugz-0.6.11/bugz.py 2014-05-05 15:17:03.000000000 +0200 @@ -288,7 +288,12 @@ def get_cols(): stty = which('stty') if stty: row_cols = commands.getoutput("%s size" % stty) - rows, cols = map(int, row_cols.split()) + try: + rows, cols = map(int, row_cols.split()) + except: + # In some cases 'stty size' will just fail with + # "Inappropriate ioctl for device". + cols = DEFAULT_NUM_COLS return cols else: return DEFAULT_NUM_COLS 5'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/AUTHORS
AgeCommit message (Expand)Author
2015-07-19AUTHORS: Remove the hand-made list of people....* AUTHORS: Remove the list of people, and add a note saying that this file is meant to be generated. Ludovic Courtès
2015-07-04Clean up 'THANKS' and 'AUTHORS'....* THANKS: Add Konrad Hinsen, Cyprien Nicolas, Yakkala Yagnesh Raghava and Alexander Shendi. Remove Federico Beffa, Marek Benc, John Darrington, rekado, Cyrill Schenkel and Andy Wingo because they are placed in AUTHORS. Move Amirouche Boubekki and Alex Kost to ... * AUTHORS: ... here. Add Arne Babenhauserheide, Ian Denhardt, Kevin Lemonnier, Mathieu Lirzin, Pierre-Antoine Rault and Ben Woodcroft. Fix some names and emails. Alex Kost
2015-06-27Add Claes Wallin to 'AUTHORS'.Alex Kost
2015-04-26gnu: Add guile-minikanren....* gnu/packages/guile.scm (guile-minikanren): New variable. Christopher Allan Webber
2015-04-05Add Andy to 'AUTHORS'.Ludovic Courtès
2015-03-09Add Paul to 'AUTHORS'.Mark H Weaver
2015-03-09Add Alexander to 'AUTHORS'.Ludovic Courtès