[pitivi] prefs: Don't redefine builtin "iter"
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] prefs: Don't redefine builtin "iter"
- Date: Wed, 8 Jan 2014 18:39:54 +0000 (UTC)
commit b5af033b140d11b79b60878a7f12894c86b5b6ca
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date: Thu Dec 26 16:31:01 2013 +0100
prefs: Don't redefine builtin "iter"
pitivi/dialogs/prefs.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/dialogs/prefs.py b/pitivi/dialogs/prefs.py
index eaff1c8..182d67f 100644
--- a/pitivi/dialogs/prefs.py
+++ b/pitivi/dialogs/prefs.py
@@ -314,8 +314,8 @@ class PreferencesDialog(object):
def _treeSelectionChangedCb(self, selection):
""" Update current when selection changed"""
- model, iter = selection.get_selected()
- new = self.sections[model[iter][1]]
+ model, _iter = selection.get_selected()
+ new = self.sections[model[_iter][1]]
if self._current != new:
if self._current:
self._current.hide()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]