[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5453 - trunk/gnue-common/src/apps
From: |
reinhard |
Subject: |
r5453 - trunk/gnue-common/src/apps |
Date: |
Mon, 22 Mar 2004 08:01:29 -0600 (CST) |
Author: reinhard
Date: 2004-03-22 08:01:28 -0600 (Mon, 22 Mar 2004)
New Revision: 5453
Modified:
trunk/gnue-common/src/apps/plugin.py
Log:
Fixed exception handling.
Modified: trunk/gnue-common/src/apps/plugin.py
===================================================================
--- trunk/gnue-common/src/apps/plugin.py 2004-03-22 10:56:54 UTC (rev
5452)
+++ trunk/gnue-common/src/apps/plugin.py 2004-03-22 14:01:28 UTC (rev
5453)
@@ -26,6 +26,7 @@
"""
from types import *
+import exceptions
import os
from gnue.common.apps import GDebug
@@ -113,7 +114,7 @@
try:
test (m)
return [m]
- except Exception, message:
+ except exceptions.Exception, message:
gDebug (1, _('Can\'t use module %(module)s: %(message)s') % \
{'module': m.__name__, 'message': message})
return []
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5453 - trunk/gnue-common/src/apps,
reinhard <=