Revert "ziafazal/WL-328: Multi-Site Comprehensive Theming"
This reverts commit 954dae584a.
This commit is contained in:
@@ -17,22 +17,3 @@ def cleanup_tempdir(the_dir):
|
||||
"""Called on process exit to remove a temp directory."""
|
||||
if os.path.exists(the_dir):
|
||||
shutil.rmtree(the_dir)
|
||||
|
||||
|
||||
def mksym_link(src, dest):
|
||||
"""
|
||||
Creates a symbolic link which will be deleted when the process ends.
|
||||
:param src: path to source
|
||||
:param dest: path to destination
|
||||
"""
|
||||
os.symlink(src, dest)
|
||||
atexit.register(cleanup_symlink, dest)
|
||||
|
||||
|
||||
def cleanup_symlink(link_path):
|
||||
"""
|
||||
Removes symbolic link for
|
||||
:param link_path:
|
||||
"""
|
||||
if os.path.exists(link_path):
|
||||
os.remove(link_path)
|
||||
|
||||
Reference in New Issue
Block a user