[pitivi: 18/94] Removed the settings.GlobalSettings.iterSection method because it's not used
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 18/94] Removed the settings.GlobalSettings.iterSection method because it's not used
- Date: Sun, 11 Sep 2011 16:13:58 +0000 (UTC)
commit c694bcb4c5831a63c31bdced25bafbc40aa01c31
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Fri Aug 26 09:29:42 2011 +0200
Removed the settings.GlobalSettings.iterSection method because it's not used
pitivi/settings.py | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/pitivi/settings.py b/pitivi/settings.py
index bc68920..032f9a1 100644
--- a/pitivi/settings.py
+++ b/pitivi/settings.py
@@ -244,18 +244,6 @@ class GlobalSettings(Signallable):
for attrname, (typ, key, environment) in options.iteritems():
yield section, attrname, typ, key, environment, getattr(self, attrname)
- def iterSection(self, section):
- """
- Iterate over all registerd options within the given section
-
- @param section:
- @type section: C{str}
- @return: an iterator which yields a tuple of (attrname, type, key,
- environment, value) for each option
- """
- for attrname, (typ, key, environment) in self.options[section].iteritems():
- yield section, attrname, typ, key, environment, getattr(self, attrname)
-
def isDefault(self, attrname):
return getattr(self, attrname) == self.defaults[attrname]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]