Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hellcp-work
test1
asknot-ng-support-older-python.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File asknot-ng-support-older-python.patch of Package test1
diff --git a/asknot-ng.py b/asknot-ng.py index e6457bd..762fff4 100755 --- a/asknot-ng.py +++ b/asknot-ng.py @@ -117,7 +117,9 @@ def main(localedir, languages, strict, build, static, **kw): staticdir = os.path.abspath(static) global_staticdir = os.path.join(build, "static") - shutil.copytree(staticdir, global_staticdir, symlinks=True, dirs_exist_ok=True) + if os.path.exists(global_staticdir): + os.rmdir(global_staticdir) + shutil.copytree(staticdir, global_staticdir, symlinks=True) print("Copied %s to %s" % (staticdir, global_staticdir))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor