[Python-checkins] hooks: Remove test lines
dirkjan.ochtman
python-checkins at python.org
Fri Feb 18 18:33:07 CET 2011
dirkjan.ochtman pushed 03920e0377f0 to hooks:
http://hg.python.org/hooks/rev/03920e0377f0
changeset: 22:03920e0377f0
tag: tip
user: Antoine Pitrou <solipsis at pitrou.net>
date: Fri Feb 18 18:33:04 2011 +0100
summary:
Remove test lines
files:
mail.py
diff --git a/mail.py b/mail.py
--- a/mail.py
+++ b/mail.py
@@ -9,8 +9,6 @@
CSET_URL = BASE + '%s/rev/%s'
FROM = '%s <python-checkins at python.org>'
-# foo
-
def send(sub, sender, to, body):
msg = MIMEMultipart()
msg['Subject'] = sub
@@ -22,8 +20,6 @@
smtp.sendmail(sender, msg['To'], msg.as_string())
smtp.close()
-# bar
-
def incoming(ui, repo, **kwargs):
displayer = cmdutil.changeset_printer(ui, repo, False, False, True)
--
Repository URL: http://hg.python.org/hooks
More information about the Python-checkins
mailing list