diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-08-26 03:56:15 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-08-26 03:56:15 +0000 |
commit | 2f7c71024bc7bc5d35c0b0e6aac786f14a6aa079 (patch) | |
tree | 34dec2c5f7179db8f68f102958651e4737360fd2 /projects | |
parent | Added overlay for stuff for work. (diff) | |
download | nichoj-2f7c71024bc7bc5d35c0b0e6aac786f14a6aa079.tar.gz nichoj-2f7c71024bc7bc5d35c0b0e6aac786f14a6aa079.tar.bz2 nichoj-2f7c71024bc7bc5d35c0b0e6aac786f14a6aa079.zip |
Generalized error to catch for parsing rss... since most people's rss is broked. Only prints active devs
svn path=/; revision=61
Diffstat (limited to 'projects')
-rwxr-xr-x | projects/devdashboard/devdashboard.rb | 6 | ||||
-rw-r--r-- | projects/devdashboard/developer.rb | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/projects/devdashboard/devdashboard.rb b/projects/devdashboard/devdashboard.rb index 69cb4d4..63d3165 100755 --- a/projects/devdashboard/devdashboard.rb +++ b/projects/devdashboard/devdashboard.rb @@ -27,7 +27,9 @@ herds = Herds.indexHerds(developers) PlanetIniParser.updateDevs(developers) developers.each do |email, dev| - dev.print - puts + if dev.status == 'active' + dev.print + puts + end end diff --git a/projects/devdashboard/developer.rb b/projects/devdashboard/developer.rb index c5e0b5b..ff34f71 100644 --- a/projects/devdashboard/developer.rb +++ b/projects/devdashboard/developer.rb @@ -47,8 +47,7 @@ class Developer end end # catch some errors that could occur... - # TODO probably don't want to keep NoMethodError - rescue SocketError, OpenURI::HTTPError, RSS::NotAvailableValueError, NoMethodError + rescue Exception end return items |