mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-24 02:12:49 +00:00
Fix project name returned by get_project_data.
variable 'name' was used for both package name and source name.
This commit is contained in:
parent
0606eb5846
commit
41a1da8e53
1 changed files with 3 additions and 3 deletions
|
@ -99,11 +99,11 @@ def get_project_data(spec_path):
|
|||
sources = []
|
||||
patches = []
|
||||
for src in sources_all:
|
||||
name, number, flag = src
|
||||
fname, number, flag = src
|
||||
if flag & src_flag: # source file
|
||||
sources.append((name, number))
|
||||
sources.append((fname, number))
|
||||
elif flag & patch_fkag:
|
||||
patches.append((name, number))
|
||||
patches.append((fname, number))
|
||||
return {'name': name, 'version': version, 'sources': sources, 'patches': patches}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue