1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c5e7535b4d22/ Changeset: c5e7535b4d22 Branch: stable User: davebgx Date: 2015-01-29 16:23:35+00:00 Summary: Set time to epoch instead of throwing server error if repository_metadata.time_last_tested is unset. Affected #: 1 file diff -r d386cf71d4f71faeb49ec871b742e81011bee266 -r c5e7535b4d229dbbe52d48ea35a27ab601205b7b lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -1690,7 +1690,10 @@ description_lines = [] # Per the RSS 2.0 specification, all dates in RSS feeds must be formatted as specified in RFC 822 # section 5.1, e.g. Sat, 07 Sep 2002 00:00:01 UT - time_tested = repository_metadata.time_last_tested.strftime( '%a, %d %b %Y %H:%M:%S UT' ) + if repository_metadata.time_last_tested is None: + time_tested = 'Thu, 01 Jan 1970 00:00:00 UT' + else: + time_tested = repository_metadata.time_last_tested.strftime( '%a, %d %b %Y %H:%M:%S UT' ) # Generate a citable URL for this repository with owner and changeset revision. repository_citable_url = common_util.url_join( tool_shed_url, 'view', Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.