##// END OF EJS Templates
Minor tweak to pinfo output formatting....
Thomas Kluyver -
Show More
@@ -512,7 +512,7 b' class Inspector:'
512 src = getsource(obj.__class__,binary_file)
512 src = getsource(obj.__class__,binary_file)
513 if src is not None:
513 if src is not None:
514 source = self.format(src)
514 source = self.format(src)
515 out.write(header('Source:\n')+source.rstrip())
515 out.write(header('Source:\n')+source.rstrip()+'\n')
516 source_success = True
516 source_success = True
517 except Exception, msg:
517 except Exception, msg:
518 pass
518 pass
@@ -537,7 +537,7 b' class Inspector:'
537 init_ds = None
537 init_ds = None
538
538
539 if init_def or init_ds:
539 if init_def or init_ds:
540 out.writeln(header('\nConstructor information:'))
540 out.writeln(header('Constructor information:'))
541 if init_def:
541 if init_def:
542 out.write(header('Definition:\t')+ self.format(init_def))
542 out.write(header('Definition:\t')+ self.format(init_def))
543 if init_ds:
543 if init_ds:
General Comments 0
You need to be logged in to leave comments. Login now