From d522b55fb009e65159475f310920ce0b61e28cd3 Mon Sep 17 00:00:00 2001 From: developomp Date: Thu, 17 Mar 2022 18:11:28 +0900 Subject: [PATCH] removed unnecessary utility function --- src/util.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/util.py b/src/util.py index 88b3466..e591178 100644 --- a/src/util.py +++ b/src/util.py @@ -3,7 +3,6 @@ from .constants import content_dir from importlib.machinery import SourceFileLoader from os import system, makedirs from os.path import dirname -from shutil import rmtree import zipfile @@ -45,13 +44,6 @@ def smart_mkdir(path: str): pass -def smart_rmtree(path): - try: - rmtree(path) - except: - pass - - def copy_file(src: str, dst: str, mode="644"): """ Copies src to dst.