From 85589f98e106c0c80802ef0fc4f6e50ecb228498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com> Date: Fri, 4 Jun 2010 08:39:51 +0000 Subject: [PATCH] Log partition table content only if available. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2128 71dcc9de-d417-0410-9af5-da40c76e7ee4 --- neo/storage/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neo/storage/app.py b/neo/storage/app.py index 2f22de48..6b5e6313 100644 --- a/neo/storage/app.py +++ b/neo/storage/app.py @@ -151,7 +151,8 @@ class Application(object): logging.info('\nPre-mortem informations:') self.em.log() self.nm.log() - self.pt.log() + if self.pt is not None: + self.pt.log() self.tm.log() self.logQueuedEvents() raise -- 2.30.9