diff options
author | Rob Austein <sra@hactrn.net> | 2009-10-21 05:22:49 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-10-21 05:22:49 +0000 |
commit | 3a78eb0238ec4278b5d4afb75780b71e73a3c51c (patch) | |
tree | 00d281c69c692cf9632d418007506cde98b06625 /myrpki/setup-sql.py | |
parent | f7983434d17ab74c835fdb780b75c894b7175f74 (diff) |
Cleanup
svn path=/myrpki/setup-sql.py; revision=2829
Diffstat (limited to 'myrpki/setup-sql.py')
-rw-r--r-- | myrpki/setup-sql.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/myrpki/setup-sql.py b/myrpki/setup-sql.py index 855fd1b6..d64c81d5 100644 --- a/myrpki/setup-sql.py +++ b/myrpki/setup-sql.py @@ -33,8 +33,7 @@ def read_schema(filename): lines = [] f = open(filename) for line in f: - words = line.strip(" \t\n").expandtabs().split(" ") - line = " ".join(word for word in words if word) + line = " ".join(line.split()) if line and not line.startswith("--"): lines.append(line) f.close() |