Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 151138 Details for
Bug 234351
%include should be able to grab URLs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
use urlgrabber.grabber.urlopen() to open all kickstart config files so that %include URLs can happen
pykickstart-0.43-parser.py-take-2.diff (text/plain), 1.12 KB, created by
Ryan Tilder
on 2007-03-28 17:32:35 UTC
(
hide
)
Description:
use urlgrabber.grabber.urlopen() to open all kickstart config files so that %include URLs can happen
Filename:
MIME Type:
Creator:
Ryan Tilder
Created:
2007-03-28 17:32:35 UTC
Size:
1.12 KB
patch
obsolete
>--- pykickstart-0.43.orig/pykickstart/parser.py 2007-03-28 08:51:59.000000000 -0700 >+++ pykickstart-0.43/pykickstart/parser.py 2007-03-28 10:26:51.000000000 -0700 >@@ -23,6 +23,8 @@ > from constants import * > from data import * > >+import url.grabber as grabber >+ > from rhpl.translate import _ > import rhpl.translate as translate > >@@ -1068,7 +1070,7 @@ > # For error reporting. > lineno = 0 > >- fh = open(file) >+ fh = grabber.urlopen(file) > needLine = True > > while True: >@@ -1122,12 +1124,12 @@ > > try: > self.readKickstart (args[1]) >- except IOError: >+ except IOError, e: > # Handle the include file being provided over the > # network in a %pre script. This case comes up in the > # early parsing in anaconda. > if self.missingIncludeIsFatal: >- raise >+ raise KickstartError("IOError: %s" % e) > > self.includeDepth -= 1 > needLine = True
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 234351
:
151136
| 151138