Revert "ziafazal/WL-328: Multi-Site Comprehensive Theming"

This reverts commit 954dae584a.
This commit is contained in:
Jesse Zoldak
2016-03-16 11:19:36 -04:00
parent b91f940af7
commit f891d27cbb
67 changed files with 411 additions and 2187 deletions

View File

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