Revision: 3602
Author: pekka.klarck
Date: Thu May 27 22:58:06 2010
Log: oops
http://code.google.com/p/robotframework/source/detail?r=3602
Modified:
/trunk/src/robot/utils/importing.py
=======================================
--- /trunk/src/robot/utils/importing.py Thu May 27 11:12:49 2010
+++ /trunk/src/robot/utils/importing.py Thu May 27 22:58:06 2010
@@ -101,7 +101,7 @@
if fromlist:
_raise_no_lib_in_module(type_, modname, fromlist[0])
code = imported
- if inspect.ismodule(code):
+ if not (inspect.ismodule(code) or inspect.isclass(code)):
if fromlist:
_raise_invalid_type(type_, code)
else: