[PATCH] Reduce initial license blurb

Sebastian Spaeth Sebastian at SSpaeth.de
Fri Jul 1 12:15:06 BST 2011


Rather than the extremly verbose NO WARRANTY blurb, we output a somewhat
smaller initial text which should still make the GPL happy.

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
---
With this change the initial output looks like this:

 OfflineIMAP 6.3.4-rc2
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).


 offlineimap/__init__.py |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/offlineimap/__init__.py b/offlineimap/__init__.py
index f64f93d..55e6b76 100644
--- a/offlineimap/__init__.py
+++ b/offlineimap/__init__.py
@@ -2,21 +2,20 @@ __all__ = ['OfflineImap']
 
 __productname__ = 'OfflineIMAP'
 __version__     = "6.3.4-rc2"
-__copyright__   = "Copyright (C) 2002 - 2010 John Goerzen"
+__copyright__   = "Copyright 2002-2011 John Goerzen & contributors"
 __author__      = "John Goerzen"
 __author_email__= "john at complete.org"
 __description__ = "Disconnected Universal IMAP Mail Synchronization/Reader Support"
+__license__  = "Licensed under the GNU GPL v2+ (v2 or any later version)"
 __bigcopyright__ = """%(__productname__)s %(__version__)s
-%(__copyright__)s <%(__author_email__)s>""" % locals()
+%(__copyright__)s.
+%(__license__)s.
+""" % locals()
+__homepage__ = "http://github.com/nicolas33/offlineimap"
 
-banner = __bigcopyright__ + """
 
-This software comes with ABSOLUTELY NO WARRANTY; see the file
-COPYING for details.  This is free software, and you are welcome
-to distribute it under the conditions laid out in COPYING."""
+banner = __bigcopyright__
 
-__homepage__ = "http://github.com/nicolas33/offlineimap"
-__license__  = "Licensed under the GNU GPL v2+ (v2 or any later version)."
 
 from offlineimap.error import OfflineImapError
 # put this last, so we don't run into circular dependencies using 
-- 
1.7.4.1





More information about the OfflineIMAP-project mailing list