diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-05-03 21:32:46 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-05-03 21:32:46 +0300 |
commit | b600dc95a994eadc45df6c196a5ca17d77995f2d (patch) | |
tree | 9013fcf43e67e113d9b71a40933b8bcffaa44c06 | |
parent | 54fd1c2268c82014baf54ee5c97201a43e728723 (diff) | |
download | jt-tmp-b600dc95a994eadc45df6c196a5ca17d77995f2d.tar.gz |
Join short lines into one longer line
-rwxr-xr-x | jt | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -75,9 +75,7 @@ class DraftsDirectory(object): pathname = self.get_draft_pathname(draft_id) with open(pathname) as f: for line in f: - m = re.match( - r'\[\[!meta title="(?P<title>.*)("\]\])$', - line) + m = re.match(r'\[\[!meta title="(?P<title>.*)("\]\])$', line) if m: title = m.group('title') break |