mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-07-31 08:34:03 +00:00
ubuntutools/lp/functions.py: Rename urlopener import as it conflicts with
a variable, causing an error.
This commit is contained in:
parent
304cd20e8e
commit
354a42b669
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -8,8 +8,10 @@ ubuntu-dev-tools (0.60) UNRELEASED; urgency=low
|
|||||||
[ Iain Lane ]
|
[ Iain Lane ]
|
||||||
* requestsync: Only attempt to change bug importance if in ubuntu-dev, as it
|
* requestsync: Only attempt to change bug importance if in ubuntu-dev, as it
|
||||||
will fail otherwise.
|
will fail otherwise.
|
||||||
|
* ubuntutools/lp/functions.py: Rename urlopener import as it conflicts with
|
||||||
|
a variable, causing an error.
|
||||||
|
|
||||||
-- Iain Lane <laney@ubuntu.com> Sun, 25 Jan 2009 00:14:23 +0000
|
-- Iain Lane <laney@ubuntu.com> Sun, 25 Jan 2009 01:04:40 +0000
|
||||||
|
|
||||||
ubuntu-dev-tools (0.59) jaunty; urgency=low
|
ubuntu-dev-tools (0.59) jaunty; urgency=low
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import cookie
|
import cookie
|
||||||
import urlopener
|
import urlopener as lp_urlopener
|
||||||
|
|
||||||
def isLPTeamMember(team):
|
def isLPTeamMember(team):
|
||||||
""" Checks if the user is a member of a certain team on Launchpad.
|
""" Checks if the user is a member of a certain team on Launchpad.
|
||||||
@ -17,7 +17,7 @@ def isLPTeamMember(team):
|
|||||||
# Prepare cookie.
|
# Prepare cookie.
|
||||||
cookieFile = cookie.prepareLaunchpadCookie()
|
cookieFile = cookie.prepareLaunchpadCookie()
|
||||||
# Prepare URL opener.
|
# Prepare URL opener.
|
||||||
urlopener = urlopener.setupLaunchpadUrlOpener(cookieFile)
|
urlopener = lp_urlopener.setupLaunchpadUrlOpener(cookieFile)
|
||||||
|
|
||||||
# Try to open the Launchpad team page:
|
# Try to open the Launchpad team page:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user