From: James Troup Date: Tue, 26 Nov 2002 16:15:56 +0000 (+0000) Subject: call less with -R to see colour from fernanda X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ea19c64b1124e270b814b37eb08ead70254f2b77;p=dak.git call less with -R to see colour from fernanda --- diff --git a/lisa b/lisa index 6e94196a..e44f0856 100755 --- a/lisa +++ b/lisa @@ -2,7 +2,7 @@ # Handles NEW and BYHAND packages # Copyright (C) 2001, 2002 James Troup -# $Id: lisa,v 1.19 2002-10-21 14:11:51 troup Exp $ +# $Id: lisa,v 1.20 2002-11-26 16:15:56 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ import apt_pkg, apt_inst; import db_access, fernanda, katie, logging, utils; # Globals -lisa_version = "$Revision: 1.19 $"; +lisa_version = "$Revision: 1.20 $"; Cnf = None; Options = None; @@ -570,7 +570,7 @@ def edit_note(note): def check_pkg (): try: - less_fd = os.popen("less -", 'w', 0); + less_fd = os.popen("less -R -", 'w', 0); stdout_fd = sys.stdout; try: sys.stdout = less_fd;