aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-04-02 12:44:32 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-04-02 12:44:32 +0000
commit9aee67a0c625acdce2ac8483e77bc33f124a7f20 (patch)
tree8cf829e221f083a4564234bd685f65a48668f498
parentcacfbc597da801495e86a4ae366b5fc69aba8294 (diff)
downloadpaludis-9aee67a0c625acdce2ac8483e77bc33f124a7f20.tar.gz
paludis-9aee67a0c625acdce2ac8483e77bc33f124a7f20.tar.xz
Fix from David Morgan
-rw-r--r--ruby/demos/find_unused_distfiles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/demos/find_unused_distfiles.rb b/ruby/demos/find_unused_distfiles.rb
index 87b570f..e55c026 100644
--- a/ruby/demos/find_unused_distfiles.rb
+++ b/ruby/demos/find_unused_distfiles.rb
@@ -61,7 +61,7 @@ env.package_database.repositories.each do | repo |
repo.category_names.each do | cat |
repo.package_names(cat).each do | pkg |
repo.version_specs(pkg).each do | ver |
- src_uri = repo.version_metadata(pkg, ver).src_uri
+ src_uri = repo.version_metadata(pkg, ver).src_uri_string
src_uri or next
src_uri.split(/\s+/).each do | part |
part =~ %r~/~ or next