summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-05-03 21:32:46 +0300
committerLars Wirzenius <liw@liw.fi>2015-05-03 21:32:46 +0300
commitb600dc95a994eadc45df6c196a5ca17d77995f2d (patch)
tree9013fcf43e67e113d9b71a40933b8bcffaa44c06
parent54fd1c2268c82014baf54ee5c97201a43e728723 (diff)
downloadjt-b600dc95a994eadc45df6c196a5ca17d77995f2d.tar.gz
Join short lines into one longer line
-rwxr-xr-xjt4
1 files changed, 1 insertions, 3 deletions
diff --git a/jt b/jt
index defeabd..abccc2c 100755
--- a/jt
+++ b/jt
@@ -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