[pitivi: 17/94] Remove settings.HOME because it's not used anywhere
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 17/94] Remove settings.HOME because it's not used anywhere
- Date: Sun, 11 Sep 2011 16:13:53 +0000 (UTC)
commit 5ab88468ac2a3092da8e7b1073a5b2452e73ae93
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Tue Aug 23 02:21:34 2011 +0200
Remove settings.HOME because it's not used anywhere
pitivi/settings.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/settings.py b/pitivi/settings.py
index bea184e..bc68920 100644
--- a/pitivi/settings.py
+++ b/pitivi/settings.py
@@ -24,7 +24,6 @@ Settings
"""
import os
-import platform
import gst
from ConfigParser import SafeConfigParser, ParsingError
import xdg.BaseDirectory as xdg_dirs # Freedesktop directories spec
@@ -37,11 +36,6 @@ from pitivi.encode import available_combinations, \
from pitivi.stream import get_stream_for_caps
from pitivi.log.loggable import Loggable
-if platform.system() == 'Windows':
- HOME = 'USERPROFILE'
-else:
- HOME = 'HOME'
-
def get_bool_env(var):
value = os.getenv(var)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]