# HG changeset patch # User Jeff Hammel # Date 1316367678 25200 # Node ID 11e11e5c0c488803f6c8245b9d8a0138f6cb0e06 # Parent 0c344ed749ac421443ce72ac8f696d4719b3f909 continue on blank lines diff -r 0c344ed749ac -r 11e11e5c0c48 fetch/main.py --- a/fetch/main.py Sun Sep 18 10:40:06 2011 -0700 +++ b/fetch/main.py Sun Sep 18 10:41:18 2011 -0700 @@ -102,8 +102,8 @@ for manifest in manifests: for line in file(i).readlines(): line = line.strip() - if line.startswith('#'): - pass + if line.startswith('#') or not line: + continue line = line.split() if len(line) not in (3,4): raise Exception("Format should be: %s; line %s" % (format_string, line))