Whitespace

This commit is contained in:
Behdad Esfahbod 2011-09-20 14:34:06 -04:00
parent e700bce118
commit d606daa4cc
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ num = 0
last = -1 last = -1
block = '' block = ''
for line in f: for line in f:
if line[0] == '#': if line[0] == '#':
if line.find (" characters"): if line.find (" characters"):
block = line[2:].strip () block = line[2:].strip ()

View File

@ -19,7 +19,7 @@ for i, f in enumerate (files):
j = line.find ('#') j = line.find ('#')
if j >= 0: if j >= 0:
line = line[:j] line = line[:j]
fields = [x.strip () for x in line.split (';')] fields = [x.strip () for x in line.split (';')]
if len (fields) == 1: if len (fields) == 1:
continue continue