[pitivi: 5/28] Minichange to replace a dict element access with a local variable access
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 5/28] Minichange to replace a dict element access with a local variable access
- Date: Thu, 14 Jul 2011 16:23:38 +0000 (UTC)
commit 6afdd22785cc0148737376c5e5695067544cc41a
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Wed Jul 6 15:04:27 2011 +0200
Minichange to replace a dict element access with a local variable access
pitivi/pipeline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/pipeline.py b/pitivi/pipeline.py
index 975c163..1de9884 100644
--- a/pitivi/pipeline.py
+++ b/pitivi/pipeline.py
@@ -900,9 +900,9 @@ class Pipeline(Signallable, Loggable):
stream = get_stream_for_caps(caps, pad)
if stream not in factory_entry.streams:
- factory_entry.streams[stream] = StreamEntry(factory_entry,
+ stream_entry = StreamEntry(factory_entry,
stream, parent=stream_entry)
- stream_entry = factory_entry.streams[stream]
+ factory_entry.streams[stream] = stream_entry
self._stream_entry_from_pad[pad] = stream_entry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]