mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-16 07:17:16 +01:00
Fix check_store_version in project store
This commit is contained in:
parent
8f634225c9
commit
9d3ba5bc3f
@ -339,6 +339,9 @@ def check_store_version(dir):
|
|||||||
with open(versionfile) as f:
|
with open(versionfile) as f:
|
||||||
v = f.read().strip()
|
v = f.read().strip()
|
||||||
except:
|
except:
|
||||||
|
if is_project_dir(dir):
|
||||||
|
v = '1.0'
|
||||||
|
else:
|
||||||
v = ''
|
v = ''
|
||||||
|
|
||||||
if v == '':
|
if v == '':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user