[copr] skvidal-backend: when we abort- show why (f8ae662)

skvidal at fedorahosted.org skvidal at fedorahosted.org
Fri Nov 16 14:41:43 UTC 2012


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : skvidal-backend

>---------------------------------------------------------------

commit f8ae662188d968a793c5c0ccfd2232b3e3bd7a8b
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Fri Nov 16 09:39:38 2012 -0500

    when we abort- show why


>---------------------------------------------------------------

 copr-be.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/copr-be.py b/copr-be.py
index fcf493a..313f075 100644
--- a/copr-be.py
+++ b/copr-be.py
@@ -122,8 +122,9 @@ def main(args):
         cbe.run()
     except Exception, e:
         print 'Killing/Dying'
-        for w in cbe.workers:
-            w.terminate()
+        if cbe in locals()
+            for w in cbe.workers:
+                w.terminate()
         raise
 
     



More information about the copr-devel mailing list