Author: bugman Date: Wed Feb 13 15:27:15 2013 New Revision: 18459 URL: http://svn.gna.org/viewcvs/relax?rev=18459&view=rev Log: The relax intro text now includes the repository URL for checked out code. This is for preserving better debugging and logging information, so that it is clear where the code comes from. Modified: trunk/info.py Modified: trunk/info.py URL: http://svn.gna.org/viewcvs/relax/trunk/info.py?rev=18459&r1=18458&r2=18459&view=diff ============================================================================== --- trunk/info.py (original) +++ trunk/info.py Wed Feb 13 15:27:15 2013 @@ -47,7 +47,7 @@ # relax module imports. from status import Status; status = Status() -from version import revision, version, version_full +from version import revision, url, version, version_full class Info_box(object): @@ -270,12 +270,16 @@ # Some new lines. intro_string = '\n\n\n' - # Program name and version. + # Program name and version - subversion code. if version == 'repository checkout': text = "%s %s r%s" % (self.title, self.version, revision()) + text2 = "%s" % (url()) + intro_string = intro_string + self.centre(text, status.text_width) + '\n' + self.centre(text2, status.text_width) + '\n\n' + + # Program name and version - official releases. else: text = "%s %s" % (self.title, self.version) - intro_string = intro_string + self.centre(text, status.text_width) + '\n\n' + intro_string = intro_string + self.centre(text, status.text_width) + '\n\n' # Program description. intro_string = intro_string + self.centre(self.desc, status.text_width) + '\n\n'