Browse Source

fix bug parsing comment lines

lennylxx 10 years ago
parent
commit
52eace4395
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/list-1e100-all.py

+ 2 - 2
tools/list-1e100-all.py

@@ -7,9 +7,9 @@ def main():
     hosts = infile.readlines()
 
     for line in hosts:
-        arr = line.split()
-        if len(arr) == 0:
+        if line[0] == '#':
             continue
+        arr = line.split()
         for k in range(0, 32):
             print arr[1][:8] + '-in-x' + hex(k)[2:].zfill(2) + '.1e100.net'