Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
doxywizard.19813
res2cc_sort_resources.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File res2cc_sort_resources.diff of Package doxywizard.19813
--- src/res2cc_cmd.py_orig 2016-05-10 21:51:52.000000000 +0200 +++ src/res2cc_cmd.py 2017-01-23 23:54:53.499507342 +0100 @@ -98,10 +98,11 @@ directory = sys.argv[1] files = [] for dirName, subdirList, fileList in walk(directory): - for fname in sorted(fileList): + for fname in fileList: subdir = dirName[len(directory)+1:] if dirName.startswith(directory) else dirName if subdir: files.append(File.factory(directory,subdir,fname)) + files.sort(key=lambda f: f.subdir + "/" + f.fileName) outputFile = open(sys.argv[2],"w") print("#include \"resourcemgr.h\"\n",file=outputFile) for f in files:
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