Fix the crash about getting repo name from redis
authorZhuoX Li <zhuox.li@intel.com>
Fri, 20 Jun 2014 07:46:02 +0000 (15:46 +0800)
committerLin Yang <lin.a.yang@intel.com>
Mon, 7 Jul 2014 09:02:46 +0000 (17:02 +0800)
commitb780bc865e94fbb4d42366be19b3bf26f64a35d7
treeb7bfcc04c4b0621e28343a45bf96554b8f4e54b9
parentb101711d0f6929f68228482b26aa2959ddd9b012
Fix the crash about getting repo name from redis

When the repo name doesn't exist in redis,we can't get it from redis.
It should normally stop to create repos, not raise exception.

Fixes: #1993

Change-Id: Iac77e7c3321071c6db0360998f45f642504ad4f2
common/snapshot.py
job_create_snapshot.py