Skip to content

Commit

Permalink
Merge pull request #1590 from andreas-schwab/master
Browse files Browse the repository at this point in the history
Don't check for store version in project store
  • Loading branch information
dmach authored Jul 2, 2024
2 parents 865913a + 9d3ba5b commit 9e56fda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion osc/obs_scm/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,10 @@ def check_store_version(dir):
with open(versionfile) as f:
v = f.read().strip()
except:
v = ''
if is_project_dir(dir):
v = '1.0'
else:
v = ''

if v == '':
msg = f'Error: "{os.path.abspath(dir)}" is not an osc package working copy.'
Expand Down

0 comments on commit 9e56fda

Please sign in to comment.