From 35c07e2f1396cae0e415f57131f017fb4ea7b3aa Mon Sep 17 00:00:00 2001 From: James Troup Date: Tue, 14 May 2002 15:33:51 +0000 Subject: [PATCH] shorter if list not null test --- natalie | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/natalie b/natalie index 74b59f80..456840fe 100755 --- a/natalie +++ b/natalie @@ -2,7 +2,7 @@ # Manipulate override files # Copyright (C) 2000, 2001, 2002 James Troup -# $Id: natalie,v 1.1 2002-05-08 11:15:38 troup Exp $ +# $Id: natalie,v 1.2 2002-05-14 15:33:51 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 @@ -245,7 +245,7 @@ def main (): list(suite, component, type); else: Logger = logging.Logger(Cnf, "natalie"); - if file_list != []: + if file_list: for file in file_list: process_file(utils.open_file(file), suite, component, type); else: -- 2.39.2