[pitivi: 44/65] Raise the correct exception in PresetManager
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 44/65] Raise the correct exception in PresetManager
- Date: Mon, 4 Jul 2011 01:22:56 +0000 (UTC)
commit 1c308dff611cbe828a692a7da538ff2d769bf12d
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Mon Jun 13 08:37:25 2011 +0200
Raise the correct exception in PresetManager
pitivi/ui/preset.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/preset.py b/pitivi/ui/preset.py
index 04fefd9..b631436 100644
--- a/pitivi/ui/preset.py
+++ b/pitivi/ui/preset.py
@@ -83,7 +83,7 @@ class PresetManager(object):
@type section: str
@return: A dict representing a preset.
"""
- raise NotImplemented
+ raise NotImplementedError()
def _savePreset(self, parser, section, values):
"""Create the specified section into the specified config parser.
@@ -95,7 +95,7 @@ class PresetManager(object):
@param values: The values of a preset.
@type values: dict
"""
- raise NotImplemented
+ raise NotImplementedError()
def _convertSectionNameToPresetName(self, section):
# A section name for a ConfigParser can have any name except "default"!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]