From 3919c682e6195842e4bd8bc60398dc1d5e1c72b2 Mon Sep 17 00:00:00 2001 From: Jonathan Patrick Davies Date: Mon, 18 Aug 2008 11:01:04 +0100 Subject: [PATCH] * requestsync: Correct print statement redirect to sys,stderr. --- debian/changelog | 6 ++++++ requestsync | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index fdefb2b..254398c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ubuntu-dev-tools (0.40ubuntu2) intrepid; urgency=low + + * requestsync: Correct print statement redirect to sys,stderr. + + -- Jonathan Patrick Davies Mon, 18 Aug 2008 10:59:59 +0100 + ubuntu-dev-tools (0.40ubuntu1) intrepid; urgency=low * Bazaar revision 174. diff --git a/requestsync b/requestsync index 22063bb..9b3e834 100755 --- a/requestsync +++ b/requestsync @@ -265,7 +265,7 @@ def mail_bug(source_package, subscribe, status, bugtitle, bugtext, keyid = None) try: s = smtplib.SMTP(mailserver, mailserver_port) except socket.error, s: - print sys.stderr, >> "Could not connect to mailserver %s at port %s: %s (%i)" % \ + print >> sys.stderr, "Could not connect to mailserver %s at port %s: %s (%i)" % \ (mailserver, mailserver_port, s[1], s[0]) print "The port %s may be firewalled. Please try using requestsync with" \ % mailserver_port