mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 15:43:39 +02:00
- fix for 81bf93f4f2
This commit is contained in:
@@ -2234,8 +2234,7 @@ def meta_exists(metatype,
|
||||
if e.code == 404 and create_new:
|
||||
data = metatypes[metatype]['template']
|
||||
if template_args:
|
||||
data = data % template_args
|
||||
data = data.split('\n')
|
||||
data = StringIO(data % template_args).readlines()
|
||||
else:
|
||||
raise e
|
||||
return data
|
||||
|
Reference in New Issue
Block a user