##// END OF EJS Templates
ensure linen is defined in find_source_lines
MinRK -
Show More
@@ -326,6 +326,8 b' def find_source_lines(obj):'
326 326 # For instances, try the class object like getsource() does
327 327 if hasattr(obj, '__class__'):
328 328 lineno = inspect.getsourcelines(obj.__class__)[1]
329 else:
330 lineno = None
329 331 except:
330 332 return None
331 333
General Comments 0
You need to be logged in to leave comments. Login now