mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-26 18:31:10 +00:00
submittodebian: rm the tmpdir with a little more force (shutil.rmtree) (LP: #899399)
This commit is contained in:
parent
bb1dcea894
commit
2e8f16c972
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -18,9 +18,10 @@ ubuntu-dev-tools (0.137) UNRELEASED; urgency=low
|
|||||||
* mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf.
|
* mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf.
|
||||||
* pull-debian-source, pull-lp-source: Resolve the source package (via DDE),
|
* pull-debian-source, pull-lp-source: Resolve the source package (via DDE),
|
||||||
if a binary package was requested (LP: #617349)
|
if a binary package was requested (LP: #617349)
|
||||||
* submittodebian: Do the report boiler-plate checking in a script that wraps
|
* submittodebian:
|
||||||
an editor, so that we only edit the report once, after checking for
|
- Do the report boiler-plate checking in a script that wraps an editor, so
|
||||||
duplicates.
|
that we only edit the report once, after checking for duplicates.
|
||||||
|
- rm the tmpdir with a little more force (shutil.rmtree) (LP: #899399)
|
||||||
|
|
||||||
[ Andreas Moog ]
|
[ Andreas Moog ]
|
||||||
* sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884)
|
* sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884)
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
from tempfile import mkdtemp
|
from tempfile import mkdtemp
|
||||||
|
|
||||||
@ -210,7 +211,7 @@ def main():
|
|||||||
submit_bugreport(body, debdiff, deb_version, changelog)
|
submit_bugreport(body, debdiff, deb_version, changelog)
|
||||||
os.unlink(body)
|
os.unlink(body)
|
||||||
os.unlink(debdiff)
|
os.unlink(debdiff)
|
||||||
os.rmdir(tmpdir)
|
shutil.rmtree(tmpdir)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user