]> git.decadent.org.uk Git - dak.git/blobdiff - jenna
don't abuse .count(). remove a couple of unused variables.
[dak.git] / jenna
diff --git a/jenna b/jenna
index e346e69b0c1d891a5e83738110609dab4076682e..dde4388d8abe668547c027beeab8440d6b382975 100755 (executable)
--- a/jenna
+++ b/jenna
@@ -2,7 +2,7 @@
 
 # Generate file lists used by apt-ftparchive to generate Packages and Sources files
 # Copyright (C) 2000, 2001, 2002, 2003, 2004  James Troup <james@nocrew.org>
-# $Id: jenna,v 1.26 2004-01-21 03:22:23 troup Exp $
+# $Id: jenna,v 1.27 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
@@ -350,7 +350,11 @@ def stable_dislocation_p():
         return 1;
     # Otherwise, look in what suites the user specified
     suites = Options["Suite"].split();
-    return suites.count("stable");
+
+    if "stable" in suites:
+        return 1;
+    else:
+        return 0;
 
 ################################################################################