mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-11 07:06:16 +01:00
Merge pull request #592 from lethliel/fix_empty_prjconf_meta
fix handling of empty prjconfig meta
This commit is contained in:
commit
9dfc6c211e
@ -3666,7 +3666,7 @@ class metafile:
|
||||
|
||||
if not isinstance(input, list):
|
||||
input = [input]
|
||||
if isinstance(input[0], str):
|
||||
if input and isinstance(input[0], str):
|
||||
input_as_str = ''.join(input)
|
||||
else:
|
||||
open_mode = 'wb'
|
||||
|
Loading…
Reference in New Issue
Block a user