allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/10] git commit: [#5224] don't show ticket help messages if they are only whitespace
Date Wed, 07 Nov 2012 19:29:01 GMT
Updated Branches:
  refs/heads/db/5224 e8fad3cdc -> edad99c11


[#5224] don't show ticket help messages if they are only whitespace


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/edad99c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/edad99c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/edad99c1

Branch: refs/heads/db/5224
Commit: edad99c111fd7b2afd3421777be7427e559adcef
Parents: dc3b9d5
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Wed Nov 7 19:28:51 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Wed Nov 7 19:28:51 2012 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/tracker_main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/edad99c1/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index 8dac04d..8e94767 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -391,7 +391,7 @@ class RootController(BaseController):
         result['sortable_custom_fields'] = c.app.globals.sortable_custom_fields_shown_in_search()
         result['subscribed'] = M.Mailbox.subscribed()
         result['allow_edit'] = has_access(c.app, 'update')()
-        result['help_msg'] = c.app.config.options.get('TicketHelpSearch')
+        result['help_msg'] = c.app.config.options.get('TicketHelpSearch','').strip()
         result['url_q'] = c.app.globals.not_closed_query
         result['url_sort'] = ''
         if sort:


Mime
View raw message