[pitivi] Formatter: Use the proper exception
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Formatter: Use the proper exception
- Date: Sat, 19 Jun 2010 10:51:12 +0000 (UTC)
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]