Changeset 15069


Ignore:
Timestamp:
Nov 25, 2015, 7:40:43 PM (9 years ago)
Author:
Ryan J Ollos
Message:

0.9.1dev: Fix traceback when overall_completion is None

The issue occurs in Trac 0.12 - as_bool was not as
robust as in later versions of Trac.

Fixes #12589.

Location:
sumstatsplugin/0.12
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sumstatsplugin/0.12/setup.py

    r14026 r15069  
    1212
    1313PACKAGE = 'TracSumStats'
    14 VERSION = '0.9.0'
     14VERSION = '0.9.1'
    1515
    1616setup(
  • sumstatsplugin/0.12/sumstats/web_ui.py

    r14026 r15069  
    161161                qry_args=group.get('query_args', {}),
    162162                css_class=group.get('css_class', group['name']),
    163                 overall_completion=as_bool(group.get('overall_completion')))
     163                overall_completion=as_bool(group.get('overall_completion', '')))
    164164        stat.refresh_calcs()
    165165        return stat
Note: See TracChangeset for help on using the changeset viewer.