commit/galaxy-central: dannon: Clarify source of errors reported by anonymous users who don't provide a contact email address.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/8c57fc528cb7/ Changeset: 8c57fc528cb7 User: dannon Date: 2015-01-07 19:10:42+00:00 Summary: Clarify source of errors reported by anonymous users who don't provide a contact email address. Affected #: 1 file diff -r 81e27001166b0e01b89eabc79d32b0adf72d5ef5 -r 8c57fc528cb7255ab11d20b03b5dd8509e3ea5a0 lib/galaxy/tools/errors.py --- a/lib/galaxy/tools/errors.py +++ b/lib/galaxy/tools/errors.py @@ -86,7 +86,7 @@ if user and user.email != email: email_str = "'%s' (providing preferred contact email '%s')" % (user.email, email) else: - email_str = "'%s'" % email + email_str = "'%s'" % (email or 'anonymously') self.report = string.Template( error_report_template ) \ .safe_substitute( host=host, dataset_id=hda.dataset_id, 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.
participants (1)
-
commits-noreply@bitbucket.org