Changeset 2062

Show
Ignore:
Timestamp:
02/28/07 05:15:31 (2 years ago)
Author:
sambloomquist
Message:

ScrumBurndownPlugin:

fixes #1251 - put in a check to make sure the list of components is not empty before trying to get the first object in the list

  • also added the build and dist folders to the svn ignore list since they are generated and should never be checked in
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • scrumburndownplugin

    • Property svn:ignore set to
      build
      TracBurndown.egg-info
      dist
  • scrumburndownplugin/burndown/burndown.py

    r2056 r2062  
    192192                component_data[comp] = cursor.fetchall() 
    193193             
    194         if component_data[component_data.keys()[0]]: 
     194        if len(component_data) > 0 and component_data[component_data.keys()[0]]: 
    195195            burndown_length = len(component_data[component_data.keys()[0]]) 
    196196        else: 
  • scrumburndownplugin/deploy.bat

    r2054 r2062  
    1 copy c:\burndown-plugin\dist\TracBurndown-01.06.10-py2.3.egg C:\Python23\Lib\site-packages 
     1copy c:\burndown-plugin\dist\TracBurndown-01.07.10-py2.3.egg C:\Python23\Lib\site-packages 
  • scrumburndownplugin/setup.py

    r2054 r2062  
    22 
    33PACKAGE = 'TracBurndown' 
    4 VERSION = '01.06.10' # the last two decimals are meant to signify the Trac version 
     4VERSION = '01.07.10' # the last two decimals are meant to signify the Trac version 
    55 
    66setup(name=PACKAGE,