Merge "fix early exit of clone_chroot"
This commit is contained in:
commit
71604e5dfb
@ -602,11 +602,11 @@ class Debbuilder(object):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(str(e))
|
self.logger.error(str(e))
|
||||||
self.logger.error("Failed to clone and update config file %s", clone_conf_path)
|
self.logger.error("Failed to clone and update config file %s", clone_conf_path)
|
||||||
break
|
continue
|
||||||
else:
|
else:
|
||||||
self.logger.debug("Successfully cloned and updated chroot's config %s", clone_conf_path)
|
self.logger.debug("Successfully cloned and updated chroot's config %s", clone_conf_path)
|
||||||
chroot_sequence = chroot_sequence + 1
|
chroot_sequence = chroot_sequence + 1
|
||||||
break
|
continue
|
||||||
|
|
||||||
# Save the above chroot config files to the external persistent storage
|
# Save the above chroot config files to the external persistent storage
|
||||||
self.save_chroots_config(user, project)
|
self.save_chroots_config(user, project)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user