mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +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.
|
||||
* pull-debian-source, pull-lp-source: Resolve the source package (via DDE),
|
||||
if a binary package was requested (LP: #617349)
|
||||
* submittodebian: Do the report boiler-plate checking in a script that wraps
|
||||
an editor, so that we only edit the report once, after checking for
|
||||
duplicates.
|
||||
* submittodebian:
|
||||
- Do the report boiler-plate checking in a script that wraps an editor, so
|
||||
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 ]
|
||||
* sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884)
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
from tempfile import mkdtemp
|
||||
|
||||
@ -210,7 +211,7 @@ def main():
|
||||
submit_bugreport(body, debdiff, deb_version, changelog)
|
||||
os.unlink(body)
|
||||
os.unlink(debdiff)
|
||||
os.rmdir(tmpdir)
|
||||
shutil.rmtree(tmpdir)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user