]> git.decadent.org.uk Git - dak.git/blobdiff - ashley
FindB, not FindI
[dak.git] / ashley
diff --git a/ashley b/ashley
index be54f2b94b4c8d3767f77982d13bcb550a0661e8..12b860a63f68865cb904ce2f046d28ba283b1301 100755 (executable)
--- a/ashley
+++ b/ashley
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Dump variables from a .katie file to stdout
-# Copyright (C) 2001  James Troup <james@nocrew.org>
-# $Id: ashley,v 1.2 2002-02-15 22:42:52 troup Exp $
+# Copyright (C) 2001, 2002  James Troup <james@nocrew.org>
+# $Id: ashley,v 1.4 2002-05-08 11:08:45 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]+".changes";
         if arg[-8:] != ".changes":
             utils.warn("Skipping '%s', unknown file type." % (arg));
             continue;