osmith has uploaded this change for review.

View Change

scripts/osmotestconfig: remove_tmpdir -> shutil.rmtree

Change-Id: I7cc133b622f863e807da9da04965a0f6f3f6d877
---
M scripts/osmotestconfig.py
1 file changed, 10 insertions(+), 5 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/39/36939/1
diff --git a/scripts/osmotestconfig.py b/scripts/osmotestconfig.py
index d6521ff..aa926f1 100755
--- a/scripts/osmotestconfig.py
+++ b/scripts/osmotestconfig.py
@@ -124,10 +124,6 @@
return os.path.exists(cmd)


-def remove_tmpdir(tmpdir):
- shutil.rmtree(tmpdir)
-
-
def check_configs_tested(basedir, app_configs, ignore_configs):
configs = []
for root, dirs, files in os.walk(basedir):
@@ -156,7 +152,7 @@
config = os.path.join(confpath, config)
test_config(app, config, tmpdir, verbose)

- remove_tmpdir(tmpdir)
+ shutil.rmtree(tmpdir)


if __name__ == '__main__':

To view, visit change 36939. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: I7cc133b622f863e807da9da04965a0f6f3f6d877
Gerrit-Change-Number: 36939
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange