X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tea;h=21b6c43f119d6ced51109325d300dd018e11238e;hb=18402e6704a1aa1626602c0b41055f653efa99bd;hp=e89a741c30098995d55734dbe2418d2534b002ed;hpb=0cd67f3c5de3433fe0deea54fbf3e71e82b4ba6b;p=dak.git diff --git a/tea b/tea index e89a741c..21b6c43f 100755 --- a/tea +++ b/tea @@ -2,7 +2,7 @@ # Various different sanity checks # Copyright (C) 2000, 2001, 2002, 2003 James Troup -# $Id: tea,v 1.25 2003-10-14 21:52:49 troup Exp $ +# $Id: tea,v 1.26 2003-10-17 11:20:47 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 @@ -393,7 +393,7 @@ def check_files_not_symlinks(): def chk_bd_process_dir (unused, dirname, filenames): for name in filenames: - if name[-4:] != ".dsc": + if not name.endswith(".dsc"): continue; filename = os.path.abspath(dirname+'/'+name); dsc = utils.parse_changes(filename);