From 00224b8e40c632b3ccbf63c952198e45923fcaf6 Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Sun, 25 Jan 2009 19:03:46 +0000 Subject: [PATCH] init.py: Reformatted plugin init banner --- python/init.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python/init.py b/python/init.py index 0ef4312..5a9cb4f 100644 --- a/python/init.py +++ b/python/init.py @@ -61,13 +61,18 @@ def runscript(script): sys.argv = argv def print_banner(): - version1 = "IDAPython version %d.%d.%d %s (serial %d) initialized" % IDAPYTHON_VERSION - version2 = "Python interpreter version %d.%d.%d %s (serial %d)" % sys.version_info - linelen = max(len(version1), len(version2)) + version1 = "Python interpreter version %d.%d.%d %s (serial %d)" % sys.version_info + version2 = "Copyright (c) 1990-2009 Python Software Foundation - http://www.python.org/" + version3 = "IDAPython version %d.%d.%d %s (serial %d)" % IDAPYTHON_VERSION + version4 = "Copyright (c) 2004-2009 Gergely Erdelyi - http://d-dome.net/idapython/" + linelen = max(len(version1), len(version2), len(version3), len(version4)) print '-' * linelen print version1 print version2 + print + print version3 + print version4 print '-' * linelen