[orca/new-settings] Changed the isFirstStart method at backend for getting the key from the general settings instead of



commit 73c49275a078a8c1747d9d476b7a0073d740157d
Author: Juanje Ojeda <jojeda emergya es>
Date:   Mon Nov 1 22:31:47 2010 +0100

    Changed the isFirstStart method at backend for getting the key from the general settings instead of from the profile settings.

 src/orca/backends/yaml_backend.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/backends/yaml_backend.py b/src/orca/backends/yaml_backend.py
index bf99614..cf826f0 100644
--- a/src/orca/backends/yaml_backend.py
+++ b/src/orca/backends/yaml_backend.py
@@ -128,8 +128,8 @@ class Backend:
         if not os.path.exists(self.settingsFile):
             return True
 
-        generalSettings = self.getGeneral()
-        return generalSettings.get('firstStart', True)
+        self._getSettings()
+        return self.general.get('firstStart', True)
 
     def _setProfileKey(self, key, value):
         self.general[key] = value



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