From ed32faabe1d2cb4bc1496bb321e3c60776314997 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 9 Mar 2009 16:45:17 -0400 Subject: [PATCH] Math: Remove extra try block in favor of universalImport Signed-off-by: James Vega --- plugins/Math/plugin.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/Math/plugin.py b/plugins/Math/plugin.py index 21e91bb23..d50a9bfaa 100644 --- a/plugins/Math/plugin.py +++ b/plugins/Math/plugin.py @@ -1,6 +1,6 @@ ### # Copyright (c) 2002-2004, Jeremiah Fincher -# Copyright (c) 2008, James Vega +# Copyright (c) 2008-2009, James Vega # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -41,10 +41,6 @@ from supybot.commands import * import supybot.callbacks as callbacks convertcore = utils.python.universalImport('convertcore', 'our_convertcore') -try: - import convertcore -except ImportError: - import our_convertcore as convertcore baseArg = ('int', 'base', lambda i: i <= 36)