mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
28141adfdc
Fix the syntax-check failures (which can be seen after python3-flake8-import-order package is installed) with the help of isort[1]: 289/316 libvirt:syntax-check / flake8 FAIL 5.24s exit status 2 [1]: https://pycqa.github.io/isort/ Signed-off-by: Han Han <hhan@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
14 lines
274 B
Python
Executable File
14 lines
274 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import shutil
|
|
import sys
|
|
|
|
meson_build_root = sys.argv[1]
|
|
file_name = sys.argv[2]
|
|
|
|
meson_dist_root = os.environ['MESON_DIST_ROOT']
|
|
|
|
shutil.copy(os.path.join(meson_build_root, file_name),
|
|
os.path.join(meson_dist_root, file_name))
|