[pitivi] Make Timeline.getSourceFactoryStreamMap a private method.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Make Timeline.getSourceFactoryStreamMap a private method.
- Date: Tue, 14 Jul 2009 10:11:12 +0000 (UTC)
commit 8952dae585045f09c50e4c6d5f4788e8758a0bff
Author: Alessandro Decina <alessandro d gmail com>
Date: Tue Jul 14 10:59:26 2009 +0200
Make Timeline.getSourceFactoryStreamMap a private method.
pitivi/timeline/timeline.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index b33be17..421a020 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1276,7 +1276,7 @@ class Timeline(Signallable, Loggable):
raise TimelineError()
if stream_map is None:
- stream_map = self.getSourceFactoryStreamMap(factory)
+ stream_map = self._getSourceFactoryStreamMap(factory)
if len(stream_map) < len(output_streams):
# we couldn't assign each stream to a track automatically,
# error out and require the caller to pass a stream_map
@@ -1297,8 +1297,7 @@ class Timeline(Signallable, Loggable):
self.addTimelineObject(timeline_object)
return timeline_object
- # FIXME : Shouldn't this be a private method ??
- def getSourceFactoryStreamMap(self, factory):
+ def _getSourceFactoryStreamMap(self, factory):
# track.stream -> track
track_stream_to_track_map = dict((track.stream, track)
for track in self.tracks)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]