FreeBSD Bugzilla – Attachment 125809 Details for
Bug 169481
[patch] sysutils/puppet fails to install packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.04 KB, created by
Romain Tartière
on 2012-06-27 10:40:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Romain Tartière
Created:
2012-06-27 10:40:08 UTC
Size:
1.04 KB
patch
obsolete
>--- files/optpatch-package_origin.orig 2012-06-27 11:34:23.466621862 +0200 >+++ files/optpatch-package_origin 2012-06-27 11:34:53.903314301 +0200 >@@ -96,14 +96,12 @@ > + uri = source.merge "INDEX.bz2" > + Puppet.debug "Fetching INDEX: #{uri.inspect}" > + begin >-+ open(uri, "r") do |f| >-+ Bzip2::Reader.open(f.path) do |f| >-+ while (line = f.gets) >-+ fields = line.split("|") >-+ pkg_info = self.class.parse_pkg_string(fields[0]) >-+ origin = self.class.parse_origin(fields[1]) >-+ @@ports_index[origin] = pkg_info >-+ end >++ Bzip2::Reader.open(uri) do |f| >++ while (line = f.gets) >++ fields = line.split("|") >++ pkg_info = self.class.parse_pkg_string(fields[0]) >++ origin = self.class.parse_origin(fields[1]) >++ @@ports_index[origin] = pkg_info > + end > + end > + rescue IOError, OpenURI::HTTPError, Net::FTPError >--------- [end of fix] ---------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169481
: 125809