]> git.decadent.org.uk Git - dak.git/blobdiff - rose
2004-02-27 James Troup <james@nocrew.org> * rose (process_tree): use 'if var in...
[dak.git] / rose
diff --git a/rose b/rose
index 37deb505852e56ce97afb9756c6710fd1987ffed..d462ca486533829a3d16ba9d103a96e28cc247fa 100755 (executable)
--- a/rose
+++ b/rose
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Initial setup of an archive
-# Copyright (C) 2002  James Troup <james@nocrew.org>
-# $Id: rose,v 1.3 2003-01-02 18:10:02 troup Exp $
+# Copyright (C) 2002, 2004  James Troup <james@nocrew.org>
+# $Id: rose,v 1.4 2004-03-11 00:20:51 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
@@ -57,7 +57,7 @@ def process_tree(config, tree):
     for entry in config.SubTree(tree).List():
         entry = entry.lower();
         if tree == "Dir":
-            if entry == "poolroot" or entry == "queue" or entry == "morguereject":
+            if entry in [ "poolroot", "queue" , "morguereject" ]:
                 continue;
         config_name = "%s::%s" % (tree, entry);
         target = config[config_name];