[gnome-ostree] autobuilder: Add an assertion
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] autobuilder: Add an assertion
- Date: Sun, 4 Nov 2012 19:14:19 +0000 (UTC)
commit 9daac7e508444eaa6a5cd615894dd63bb7ab41aa
Author: Colin Walters <walters verbum org>
Date: Sun Nov 4 14:12:16 2012 -0500
autobuilder: Add an assertion
To help me track down a bug.
src/ostbuild/pyostbuild/builtin_autobuilder.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_autobuilder.py b/src/ostbuild/pyostbuild/builtin_autobuilder.py
index b394d06..217ad68 100755
--- a/src/ostbuild/pyostbuild/builtin_autobuilder.py
+++ b/src/ostbuild/pyostbuild/builtin_autobuilder.py
@@ -77,6 +77,7 @@ class OstbuildAutobuilder(builtins.Builtin):
db.load_from_path(prev_snapshot_path))
def _on_resolve_exited(self, pid, status):
+ assert self.resolve_proc is not None
self.resolve_proc = None
success = self._status_is_success(status)
self._resolve_taskset.finish(success)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]