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.
上级 53fc7eab
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册