[node-patches] Change in ovirt-node[master]: Just try to fix BZ#989389

hadong0720 at gmail.com hadong0720 at gmail.com
Mon Aug 26 04:16:46 UTC 2013


hadong has uploaded a new change for review.

Change subject: Just try to fix BZ#989389
......................................................................

Just try to fix BZ#989389

Change-Id: I7af3fc071db96a3c57c1b9fb76f4c3574250bef6
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/core/kdump_page.py
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/91/18491/1

diff --git a/src/ovirt/node/setup/core/kdump_page.py b/src/ovirt/node/setup/core/kdump_page.py
index 5887cd4..922d7df 100644
--- a/src/ovirt/node/setup/core/kdump_page.py
+++ b/src/ovirt/node/setup/core/kdump_page.py
@@ -167,6 +167,15 @@
                 progress_dialog.run()
                 console.writeln("\nPlease press any key to continue")
                 console.wait_for_keypress()
+        except KeyboardInterrupt:
+            model.update(None, None, None)
+            txs += model.transaction()
+            console.reset()
+            is_dry = self.application.args.dry
+            progress_dialog = console.TransactionProgress(txs, is_dry)
+            progress_dialog.run()
+            console.writeln("\nPlease press any key to continue")
+            console.wait_for_keypress()
         except Exception as e:
             self.logger.exception("Exception while configuring kdump")
             return InfoDialog("dialog.info", "An error occurred", e.message)


-- 
To view, visit http://gerrit.ovirt.org/18491
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7af3fc071db96a3c57c1b9fb76f4c3574250bef6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list