mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-05 13:46:52 +00:00
fix python 3.5 syntax
This commit is contained in:
parent
329f97433e
commit
834f03dfac
1 changed files with 5 additions and 4 deletions
|
|
@ -14,10 +14,11 @@ target_ref = os.getenv('TARGET_REF')
|
|||
source_ref = os.getenv('SOURCE_REF')
|
||||
|
||||
for appid in sorted(changed):
|
||||
metadata_file = f'metadata/{appid}.yml'
|
||||
metadata_file = 'metadata/' + appid +'.yml'
|
||||
diff = subprocess.check_output(
|
||||
(
|
||||
f'git diff --no-color --diff-filter=d {target_ref}...{source_ref} -- {metadata_file}'
|
||||
'git diff --no-color --diff-filter=d ' + target_ref +
|
||||
'...' + source_ref + ' -- ' + metadata_file
|
||||
).split(' ')
|
||||
)
|
||||
|
||||
|
|
@ -82,8 +83,8 @@ for appid in sorted(changed):
|
|||
signatures_dir = 'metadata/%s/signatures/' % appid
|
||||
diff = subprocess.check_output(
|
||||
(
|
||||
f'git diff --name-only --no-color --diff-filter=d {target_ref}...{source_ref} -- '
|
||||
+ signatures_dir
|
||||
'git diff --no-color --diff-filter=d ' + target_ref +
|
||||
'...' + source_ref + ' -- ' + signatures_dir
|
||||
).split(' ')
|
||||
)
|
||||
for f in diff.split():
|
||||
|
|
|
|||
Loading…
Reference in a new issue