[pitivi: 3/4] ElementTreeFormatter: Save ordered list of sources. Fixes #579534



commit af64b94dbc8a4b6563c6daa11809bad8fae37316
Author: Edward Hervey <bilboed bilboed com>
Date:   Mon Apr 20 12:37:24 2009 +0200

    ElementTreeFormatter: Save ordered list of sources. Fixes #579534
---
 pitivi/formatters/etree.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pitivi/formatters/etree.py b/pitivi/formatters/etree.py
index 2658185..2d437ad 100644
--- a/pitivi/formatters/etree.py
+++ b/pitivi/formatters/etree.py
@@ -423,7 +423,7 @@ class ElementTreeFormatter(Formatter):
     def _serializeProject(self, project):
         root = self._saveMainTag()
 
-        factories = project.sources.sources.values()
+        factories = project.sources.getSources()
         factories_element = self._saveFactories(factories)
         root.append(factories_element)
 



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