From: James Troup Date: Sat, 20 Apr 2002 13:13:00 +0000 (+0000) Subject: Accept .katie as an argument too. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5f0d9c81c0f0ea5fea6a40cce0ca388177f5cd;p=dak Accept .katie as an argument too. --- diff --git a/ashley b/ashley index be54f2b9..fdf2c615 100755 --- a/ashley +++ b/ashley @@ -2,7 +2,7 @@ # Dump variables from a .katie file to stdout # Copyright (C) 2001 James Troup -# $Id: ashley,v 1.2 2002-02-15 22:42:52 troup Exp $ +# $Id: ashley,v 1.3 2002-04-20 13:13:00 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 @@ -25,6 +25,8 @@ def main(): Cnf = utils.get_conf() k = katie.Katie(Cnf); for arg in sys.argv[1:]: + if arg[-6:] == ".katie": + arg = arg[:-6]+".katie"; if arg[-8:] != ".changes": utils.warn("Skipping '%s', unknown file type." % (arg)); continue;