changeset 17:6e01f65bb3e8

some cmdline options now imply others
author Atul Varma <varmaa@toolness.com>
date Sun, 03 Jan 2010 00:57:24 -0800
parents d74597d6ae5a
children 75e573ddc70e
files publish_edition.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/publish_edition.py	Sun Jan 03 00:46:47 2010 -0800
+++ b/publish_edition.py	Sun Jan 03 00:57:24 2010 -0800
@@ -31,6 +31,11 @@
 def publish_edition(update_whoisi=False,
                     update_urls=False,
                     update_articles=False):
+    if update_whoisi:
+        update_urls = True
+    if update_urls:
+        update_articles = True
+
     names = [line.strip()
              for line in open(AUTHORS_FILENAME, 'r').readlines()
              if line and not line.startswith('#')]