X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=jeri;h=a0ad9e8b23dced284ec1794257704e8eaeca4423;hb=3a65818194e8ccebce85be07d6371a8ba330216e;hp=6c7294f56fcaab30f3ebd5d8282bbc55e9896f34;hpb=e01250ca28634ae46eb6d0e17c88be8f7613f7f9;p=dak.git diff --git a/jeri b/jeri index 6c7294f5..a0ad9e8b 100755 --- a/jeri +++ b/jeri @@ -1,8 +1,8 @@ #!/usr/bin/env python # Dependency check proposed-updates -# Copyright (C) 2001, 2002 James Troup -# $Id: jeri,v 1.11 2003-01-02 18:13:03 troup Exp $ +# Copyright (C) 2001, 2002, 2004 James Troup +# $Id: jeri,v 1.12 2004-02-27 20:07:40 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 @@ -236,7 +236,7 @@ def check_joey (filename): if len(split_line) != 2: utils.fubar("Parse error (not exactly 2 elements): %s" % (line)); install_type = split_line[0]; - if [ "install", "install-u", "sync-install" ].count(install_type) == 0: + if install_type not in [ "install", "install-u", "sync-install" ]: utils.fubar("Unknown install type ('%s') from: %s" % (install_type, line)); changes_filename = split_line[1] if Options["debug"]: