From 9427ebbb129f023f065c1ad34290ce74f9f8b83b Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 7 Jul 2012 12:50:24 -0600 Subject: [PATCH] dak/init_dirs.py: only create directories for active keyrings This avoids problems if inactive keyrings in locations not writable by the archive user are referenced. --- dak/init_dirs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/init_dirs.py b/dak/init_dirs.py index 32c8f589..fd140714 100755 --- a/dak/init_dirs.py +++ b/dak/init_dirs.py @@ -131,7 +131,7 @@ def create_directories(): process_keyring(Cnf['Dinstall::SigningPubKeyring'], secret=True) # Process public keyrings - for keyring in session.query(Keyring).all(): + for keyring in session.query(Keyring).filter_by(active=True): process_keyring(keyring.keyring_name) # Process dists directories -- 2.39.5