X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=jeri;h=a0ad9e8b23dced284ec1794257704e8eaeca4423;hb=b67c5d000f21ec57a28446cbe26064ab0b280beb;hp=9cc2635942234177ebe25b83de189a52d806e5b2;hpb=c846e77a848d60dd115f00faa0d9a854161d99eb;p=dak.git diff --git a/jeri b/jeri index 9cc26359..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.10 2002-10-16 02:47:32 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 @@ -47,7 +47,7 @@ architectures = None; def usage (exit_code=0): print """Usage: jeri [OPTION] [...] -Remove obsolete changes files from proposed-updates. +(Very) Basic dependency checking for proposed-updates. -q, --quiet be quieter about what is being done -v, --verbose be more verbose about what is being done @@ -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"]: