revisor/__init__.py.in  |    4 ++++
 revisor/base.py         |    8 +++++++-
 unity/scripts/respin.sh |   15 +++++++++++++--
 3 files changed, 24 insertions(+), 3 deletions(-)

New commits:
commit c8ef3bc2f319f39b86037a6eb75b8ea3414d0b15
Author: Jeroen van Meeuwen (Fedora Unity) <kana...@fedoraunity.org>
Date:   Fri Mar 6 05:03:54 2009 +0100

    Notify test-t...@lists.fedoraunity.org from now on
    Allow overriding where the notifications are sent

diff --git a/unity/scripts/respin.sh b/unity/scripts/respin.sh
index 7a0a9a8..466be7d 100755
--- a/unity/scripts/respin.sh
+++ b/unity/scripts/respin.sh
@@ -40,8 +40,8 @@
 #
 
 # Who to notify on failure, or success, and where to send the message from.
-NOTIFICATION_FAILURE="kana...@kanarip.com"
-NOTIFICATION_SUCCESS="kana...@kanarip.com"
+NOTIFICATION_FAILURE="test-t...@lists.fedoraunity.org"
+NOTIFICATION_SUCCESS="test-t...@lists.fedoraunity.org"
 NOTIFICATION_FROMADD="kana...@kanarip.com"
 
 # The temp directory to use. Defaults to /tmp
@@ -120,6 +120,17 @@ while [ $# -gt 0 ]; do
             JUST_LIST=1
             shift
         ;;
+
+        --notify-failure)
+            NOTIFICATION_FAILURE="$2"
+            shift; shift
+        ;;
+
+        --notify-success)
+            NOTIFICATION_SUCCESS="$2"
+            shift; shift
+        ;;
+
         *)
             usage
         ;;


commit ed39f5e86acb1f94e7973d1436a8dcb8739e4f21
Author: Jeroen van Meeuwen (Fedora Unity) <kana...@fedoraunity.org>
Date:   Fri Mar 6 05:03:28 2009 +0100

    Be a little more robust when configuring the system fails

diff --git a/revisor/base.py b/revisor/base.py
index 5d5dc41..84c91cd 100644
--- a/revisor/base.py
+++ b/revisor/base.py
@@ -2029,7 +2029,13 @@ class RevisorBase:
         liveImage.install()
 
         pbar = self.progress_bar(_("Configuring System"))
-        liveImage.configure()
+        try:
+            liveImage.configure()
+        except IOError, e:
+            if e.errno == 2:
+                pass
+            else:
+                raise IOError, e
 
         if self.cfg.lm_user_configuration:
             useradd = ['useradd']


commit a9b3d40d513416b5665fb7fce7d2ff910cc8aad2
Author: Jeroen van Meeuwen (Fedora Unity) <kana...@fedoraunity.org>
Date:   Fri Mar 6 05:03:08 2009 +0100

    Accept AttributeError exceptions being thrown at us, too

diff --git a/revisor/__init__.py.in b/revisor/__init__.py.in
index 4eec8f8..8457920 100644
--- a/revisor/__init__.py.in
+++ b/revisor/__init__.py.in
@@ -502,6 +502,10 @@ class Revisor:
         except KeyboardInterrupt:
             exitcode = 1
             self.base.log.info(_("Interrupted by user"))
+        except AttributeError, e:
+            exitcode = 1
+            traceback.print_exc()
+            print >> sys.stderr, _("Traceback occurred, please report a bug at 
http://fedorahosted.org/revisor";)
 #        except TypeError, e:
 #            self.log.error(_("Type Error: %s") % e)
         except:


_______________________________________________
revisor-devel mailing list
revisor-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/revisor-devel

Reply via email to