mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
* requestsync: Suggest using the --lp flag when mailing a request encounters
a failure.
This commit is contained in:
parent
307417e56a
commit
1359d91815
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -4,6 +4,8 @@ ubuntu-dev-tools (0.40ubuntu1) intrepid; urgency=low
|
|||||||
* buildd: Code cleanup on single arch options.
|
* buildd: Code cleanup on single arch options.
|
||||||
* doc/buildd.1: Created.
|
* doc/buildd.1: Created.
|
||||||
* doc/requestsync.1: Added note about sponsorship detecting.
|
* doc/requestsync.1: Added note about sponsorship detecting.
|
||||||
|
* requestsync: Suggest using the --lp flag when mailing a request encounters
|
||||||
|
a failure.
|
||||||
|
|
||||||
-- Jonathan Patrick Davies <jpds@ubuntu.com> Thu, 14 Aug 2008 12:23:41 +0100
|
-- Jonathan Patrick Davies <jpds@ubuntu.com> Thu, 14 Aug 2008 12:23:41 +0100
|
||||||
|
|
||||||
|
@ -265,8 +265,12 @@ def mail_bug(source_package, subscribe, status, bugtitle, bugtext, keyid = None)
|
|||||||
try:
|
try:
|
||||||
s = smtplib.SMTP(mailserver, mailserver_port)
|
s = smtplib.SMTP(mailserver, mailserver_port)
|
||||||
except socket.error, s:
|
except socket.error, s:
|
||||||
print "ERROR: 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])
|
(mailserver, mailserver_port, s[1], s[0])
|
||||||
|
print "The port %s may be firewalled. Please try using requestsync with" \
|
||||||
|
% mailserver_port
|
||||||
|
print "the '--lp' flag to file a sync request with the launchpadbugs " \
|
||||||
|
"module."
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# authenticate to the server
|
# authenticate to the server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user