mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
make changes based on reviewer feedback
This commit is contained in:
parent
c38452bb43
commit
1d36de0fbb
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -4,7 +4,11 @@ ubuntu-dev-tools (0.122) UNRELEASED; urgency=low
|
|||||||
* lp-project-upload: Add an optional parameter for creating a new
|
* lp-project-upload: Add an optional parameter for creating a new
|
||||||
milestone to add future bugs to.
|
milestone to add future bugs to.
|
||||||
|
|
||||||
-- Ted Gould <ted@ubuntu.com> Tue, 19 Apr 2011 17:32:03 +0200
|
[ Brian Murray ]
|
||||||
|
* grab-attachments: download the attachments to a folder named after the bug
|
||||||
|
number e.g. bug-1
|
||||||
|
|
||||||
|
-- Brian Murray <brian@ubuntu.com> Tue, 19 Apr 2011 12:41:41 -0700
|
||||||
|
|
||||||
ubuntu-dev-tools (0.121) unstable; urgency=low
|
ubuntu-dev-tools (0.121) unstable; urgency=low
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ grab\-attachments \- downloads attachments from a Launchpad bug
|
|||||||
.B grab\-attachments \-h
|
.B grab\-attachments \-h
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBgrab\-attachments\fR is a script to download all attachments from a
|
\fBgrab\-attachments\fR is a script to download all attachments from a
|
||||||
Launchpad bug report into the current directory.
|
Launchpad bug report into the a directory named after the bug e.g. bug-1.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
Listed below are the command line options for grab\-attachments:
|
Listed below are the command line options for grab\-attachments:
|
||||||
|
@ -61,7 +61,7 @@ def main():
|
|||||||
try:
|
try:
|
||||||
os.mkdir(bug_folder_name)
|
os.mkdir(bug_folder_name)
|
||||||
except OSError, error:
|
except OSError, error:
|
||||||
if 'file exists' in error:
|
if error.errno == 17:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for attachment in bug.attachments:
|
for attachment in bug.attachments:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user