From: James Troup Date: Tue, 14 May 2002 15:33:51 +0000 (+0000) Subject: shorter if list not null test X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=35c07e2f1396cae0e415f57131f017fb4ea7b3aa;p=dak.git shorter if list not null test --- 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: