# Dump variables from a .katie file to stdout
# Copyright (C) 2001, 2002 James Troup <james@nocrew.org>
-# $Id: ashley,v 1.4 2002-05-08 11:08:45 troup Exp $
+# $Id: ashley,v 1.5 2002-05-10 00:24:23 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
Cnf = utils.get_conf()
k = katie.Katie(Cnf);
for arg in sys.argv[1:]:
- if arg[-6:] == ".katie":
- arg = arg[:-6]+".changes";
- if arg[-8:] != ".changes":
- utils.warn("Skipping '%s', unknown file type." % (arg));
- continue;
+ arg = utils.validate_changes_file_arg(arg);
k.pkg.changes_file = arg;
print "%s:" % (arg);
k.init_vars();