Skip to content

Commit

Permalink
Fix NameError: name 'pilutil' is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke authored and rgommers committed Feb 18, 2012
1 parent d24cc56 commit 4f29f4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scipy/misc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@ def info(object=None,maxwidth=76,output=sys.stdout,toplevel='scipy'):

try:
from pilutil import *
import pilutil
__all__ += pilutil.__all__
del pilutil
except ImportError:
pass

import common
__all__ += common.__all__
del common

from numpy.testing import Tester
test = Tester().test

0 comments on commit 4f29f4f

Please sign in to comment.