1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

accept older working copies

This commit is contained in:
Dr. Peter Poeml 2006-05-22 14:23:13 +00:00
parent 432252aef1
commit 1623924f2b

View File

@ -545,8 +545,8 @@ def check_store_version(dir):
sys.exit(1)
if v != __version__:
if v == '0.2':
# 0.2 is fine, no migration needed
if v == '0.2' or v == '0.3':
# version is fine, no migration needed
f = open(versionfile, 'w')
f.write(__version__ + '\n')
f.close()