[PATCH 1 of 2] patchbomb: fix more line continuations (coding style)
Christian Ebert
blacktrash at gmx.net
Fri Jan 4 09:12:30 CST 2008
# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1199458702 -3600
# Node ID 665f1fa0db150ea431625bdc121686a4ea05e9b8
# Parent 4c16020d11720b4f9ca07e5cac7be94ab9b70f82
patchbomb: fix more line continuations (coding style)
diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -387,7 +387,7 @@ def patchbomb(ui, repo, *revs, **opts):
else:
parent = m['Message-Id']
m['Date'] = util.datestr(date=start_time,
- format="%a, %d %b %Y %H:%M:%S", timezone=True)
+ format="%a, %d %b %Y %H:%M:%S", timezone=True)
start_time = (start_time[0] + 1, start_time[1])
m['From'] = sender
@@ -415,7 +415,7 @@ def patchbomb(ui, repo, *revs, **opts):
ui.status('Writing ', m['Subject'], ' ...\n')
fp = open(opts['mbox'], m.has_key('In-Reply-To') and 'ab+' or 'wb+')
date = util.datestr(date=start_time,
- format='%a %b %d %H:%M:%S %Y', timezone=False)
+ format='%a %b %d %H:%M:%S %Y', timezone=False)
fp.write('From %s %s\n' % (sender_addr, date))
fp.write(m.as_string(0))
fp.write('\n\n')
More information about the Mercurial-devel
mailing list