obs-db: Avoid creating duplicated projects in db on project catchup
authorVincent Untz <vuntz@opensuse.org>
Tue, 15 May 2012 09:00:56 +0000 (11:00 +0200)
committerVincent Untz <vuntz@opensuse.org>
Tue, 15 May 2012 09:00:56 +0000 (11:00 +0200)
commit556baa14da1074401ec61c406876fe38208c9a23
treed6748eadb4b6ce00a6cdaf97f684534ec6496c6f
parent89b572bf85a586f9bd30a079ff8ed70ab1c1a1be
obs-db: Avoid creating duplicated projects in db on project catchup

Because we were using add_project for the db on project catchup, we were
blindly adding the project, without removing any prior version of the
project. So use update_project instead.
server/obs-db/shell.py