[pitivi] pitivi.sourcelist: fix a bug removing clips.



commit 8d16eea137c4dbe8b906cb6656ecc36995ea2b3b
Author: Alessandro Decina <alessandro d gmail com>
Date:   Thu Apr 30 16:25:02 2009 +0200

    pitivi.sourcelist: fix a bug removing clips.
    
    Fixes #580192.
---
 pitivi/sourcelist.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pitivi/sourcelist.py b/pitivi/sourcelist.py
index 6f5f36e..2e31f33 100644
--- a/pitivi/sourcelist.py
+++ b/pitivi/sourcelist.py
@@ -80,7 +80,7 @@ class SourceList(object, Signallable, Loggable):
     def __delitem__(self, uri):
         try:
             self.sources.__delitem__(uri)
-            self._sourceindex.__delitem__(uri)
+            self._sourceindex.remove(uri)
         except KeyError:
             pass
         else:



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