diff options
Diffstat (limited to 'subcmds/gitc_delete.py')
-rw-r--r-- | subcmds/gitc_delete.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/subcmds/gitc_delete.py b/subcmds/gitc_delete.py index 7380c352..54f62f46 100644 --- a/subcmds/gitc_delete.py +++ b/subcmds/gitc_delete.py | |||
@@ -14,12 +14,10 @@ | |||
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | from __future__ import print_function | 16 | from __future__ import print_function |
17 | import os | ||
18 | import shutil | ||
19 | import sys | 17 | import sys |
20 | 18 | ||
21 | from command import Command, GitcClientCommand | 19 | from command import Command, GitcClientCommand |
22 | import gitc_utils | 20 | import platform_utils |
23 | 21 | ||
24 | from pyversion import is_python3 | 22 | from pyversion import is_python3 |
25 | if not is_python3(): | 23 | if not is_python3(): |
@@ -52,4 +50,4 @@ and all locally downloaded sources. | |||
52 | if not response == 'yes': | 50 | if not response == 'yes': |
53 | print('Response was not "yes"\n Exiting...') | 51 | print('Response was not "yes"\n Exiting...') |
54 | sys.exit(1) | 52 | sys.exit(1) |
55 | shutil.rmtree(self.gitc_manifest.gitc_client_dir) | 53 | platform_utils.rmtree(self.gitc_manifest.gitc_client_dir) |