summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-26 03:56:15 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-26 03:56:15 +0000
commit2f7c71024bc7bc5d35c0b0e6aac786f14a6aa079 (patch)
tree34dec2c5f7179db8f68f102958651e4737360fd2 /projects
parentAdded overlay for stuff for work. (diff)
downloadnichoj-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-xprojects/devdashboard/devdashboard.rb6
-rw-r--r--projects/devdashboard/developer.rb3
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