Browse Source

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 years ago
parent
commit
3f28824931
2 changed files with 10 additions and 1 deletions
  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).