[sabayon] fix for Bug #608697



commit 72d56a97da1e25ba27e66d8c6252b860c778890b
Author: Warren Togami <wtogami redhat com>
Date:   Mon Feb 1 13:26:37 2010 -0600

    fix for Bug #608697

 lib/debuglog.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/debuglog.py b/lib/debuglog.py
index 623a052..6ba1182 100644
--- a/lib/debuglog.py
+++ b/lib/debuglog.py
@@ -149,6 +149,9 @@ class DebugLog:
             self.set_max_lines (i)
 
     def load_configuration (self, filename):
+        if not os.path.exists (filename):
+            return False 
+
         config = ConfigParser.ConfigParser ()
 
         config.read (filename)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]