submittodebian: rm the tmpdir with a little more force (shutil.rmtree) (LP: #899399)

This commit is contained in:
Stefano Rivera 2011-12-03 00:06:35 +02:00
parent bb1dcea894
commit 2e8f16c972
2 changed files with 6 additions and 4 deletions

7
debian/changelog vendored
View File

@ -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)

View File

@ -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()