File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
55
66# [ Unreleased]  
77
8+ # [ 0.4.4]  
9+ ## Fixed  
10+ -  Fixes a bug introduced to ` utils.config_files `  which only returns ` /etc/sensu/config.json `  (@barryorourke  )
11+ 
812# [ 0.4.3]  
913## Fixed  
1014-  Fixes ` utils.config_files `  so that it returns a list of files, rather than a list of ` None ` 's (@barryorourke  )
@@ -54,7 +58,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5458## [ 0.1.0]  2014-01-06 
5559-  Initial release (@zsprackett  )
5660
57- [ Unreleased ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.3...HEAD 
61+ [ Unreleased ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.4...HEAD 
62+ [ 0.4.3 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.3...0.4.4 
5863[ 0.4.2 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.2...0.4.3 
5964[ 0.4.1 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.1...0.4.2 
6065[ 0.4.1 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.0...0.4.1 
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def config_files():
2121    else :
2222        files  =  ['/etc/sensu/config.json' ]
2323        filenames  =  [f  for  f  in  os .listdir ('/etc/sensu/conf.d' )
24-                      if  os .path .splitext (f )[1 ] ==  'json' ]
24+                      if  os .path .splitext (f )[1 ] ==  '. json' ]
2525        for  filename  in  filenames :
2626            files .append ('/etc/sensu/conf.d/{}' .format (filename ))
2727        return  files 
Original file line number Diff line number Diff line change 22
33setup (
44    name = 'sensu_plugin' ,
5-     version = '0.4.3 ' ,
5+     version = '0.4.4 ' ,
66    author = 'Sensu-Plugins and contributors' ,
7788    packages = ['sensu_plugin' , 'sensu_plugin.test' ],
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments