[pitivi] settings: Use ConfigParser as SafeConfigParser is obsolete
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] settings: Use ConfigParser as SafeConfigParser is obsolete
- Date: Fri, 23 Oct 2015 17:11:08 +0000 (UTC)
commit 1fa584900a530be6ff0bf31141344cd69e2d7715
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Thu Oct 22 16:20:41 2015 +0200
settings: Use ConfigParser as SafeConfigParser is obsolete
Differential Revision: https://phabricator.freedesktop.org/D431
pitivi/settings.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/settings.py b/pitivi/settings.py
index 37db752..42fdbd0 100644
--- a/pitivi/settings.py
+++ b/pitivi/settings.py
@@ -20,7 +20,7 @@
# Boston, MA 02110-1301, USA.
import os
-from configparser import SafeConfigParser, ParsingError
+from configparser import ConfigParser, ParsingError
from gi.repository import GLib
from gi.repository import GObject
@@ -146,7 +146,7 @@ class GlobalSettings(GObject.Object, Loggable):
Loggable.__init__(self)
self.conf_file_path = os.path.join(xdg_config_home(), "pitivi.conf")
- self._config = SafeConfigParser()
+ self._config = ConfigParser()
self._readSettingsFromConfigurationFile()
self._readSettingsFromEnvironmentVariables()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]