mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
sponsor-patch: Fix assertion error if a relative working directory
is specified.
This commit is contained in:
parent
cf40e7bccf
commit
a5691d4cd1
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -17,7 +17,11 @@ ubuntu-dev-tools (0.124) UNRELEASED; urgency=low
|
||||
* bitesize, doc/bitesize.1: add script to tag a bug as bitesize and add a
|
||||
comment that you are willing to help with fixing the bug.
|
||||
|
||||
-- Daniel Holbach <daniel.holbach@ubuntu.com> Mon, 09 May 2011 14:33:48 +0200
|
||||
[ Benjamin Drung ]
|
||||
* sponsor-patch: Fix assertion error if a relative working directory
|
||||
is specified.
|
||||
|
||||
-- Benjamin Drung <bdrung@debian.org> Mon, 16 May 2011 00:57:40 +0200
|
||||
|
||||
ubuntu-dev-tools (0.122) unstable; urgency=low
|
||||
|
||||
|
@ -253,7 +253,7 @@ def get_open_ubuntu_bug_task(launchpad, bug):
|
||||
|
||||
def sponsor_patch(bug_number, build, builder, edit, keyid, lpinstance, update,
|
||||
upload, workdir, verbose=False):
|
||||
workdir = os.path.expanduser(workdir)
|
||||
workdir = os.path.realpath(os.path.expanduser(workdir))
|
||||
if not os.path.isdir(workdir):
|
||||
try:
|
||||
os.makedirs(workdir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user