11 lines
410 B
Python
11 lines
410 B
Python
# -*- coding: utf-8 -*-
|
|
"""Snapshot config\indexUserConfig.xml as pre-submit baseline."""
|
|
import os
|
|
import shutil
|
|
|
|
d = open(r"C:\sanguo_bigqmt\qmt_install_dir.txt", encoding="utf-8").read().strip()
|
|
src = os.path.join(os.path.dirname(d), "config", "indexUserConfig.xml")
|
|
dst = r"C:\sanguo_bigqmt\indexUserConfig_before.xml"
|
|
shutil.copy2(src, dst)
|
|
print("SNAP", os.path.getsize(src), "->", os.path.getsize(dst))
|