瀏覽代碼

Make the usage example in updateFallbackDirs.py actually work

And explain what it does.

Fixes bug 22270 in 0.3.0.3-alpha.
teor 7 年之前
父節點
當前提交
3f28824931
共有 2 個文件被更改,包括 10 次插入1 次删除
  1. 4 0
      changes/bug22270
  2. 6 1
      scripts/maint/updateFallbackDirs.py

+ 4 - 0
changes/bug22270

@@ -0,0 +1,4 @@
+  o Minor bugfixes (fallback directory mirrors):
+    - Make the usage example in updateFallbackDirs.py actually work.
+      (And explain what it does.)
+      Fixes bug 22270 in 0.3.0.3-alpha.

+ 6 - 1
scripts/maint/updateFallbackDirs.py

@@ -1,8 +1,13 @@
 #!/usr/bin/python
 
 # Usage:
+#
+# Regenerate the list:
 # scripts/maint/updateFallbackDirs.py > src/or/fallback_dirs.inc
-# scripts/maint/updateFallbackDirs.py check_existing > src/or/fallback_dirs.inc
+#
+# Check the existing list:
+# scripts/maint/updateFallbackDirs.py check_existing > fallback_dirs.inc.ok
+# mv fallback_dirs.inc.ok src/or/fallback_dirs.inc
 #
 # This script should be run from a stable, reliable network connection,
 # with no other network activity (and not over tor).