[pitivi] Formatter: Use the proper exception



commit d0938ddd117931916178a5e11e3a6cf22154d517
Author: Chris Ball <chris printf net>
Date:   Sat Jun 19 12:50:26 2010 +0200

    Formatter: Use the proper exception
    
    Fixes #616341

 pitivi/formatters/base.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/formatters/base.py b/pitivi/formatters/base.py
index 5422416..2a0c12f 100644
--- a/pitivi/formatters/base.py
+++ b/pitivi/formatters/base.py
@@ -318,7 +318,7 @@ class Formatter(Signallable, Loggable):
         newprefix = os.sep.join(b[:ib])
         self.debug("oldprefix:%r, newprefix:%r", oldprefix, newprefix)
         if oldprefix in self.directorymapping.keys():
-            raise FormatterException
+            raise FormatterError()
 
         self.directorymapping[oldprefix] = newprefix
 



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