Bug 133059 - ftp tree broken (patch)
ftp tree broken (patch)
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-packages (Show other bugs)
2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-21 06:08 EDT by Gerald Teschl
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-21 21:11:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gerald Teschl 2004-09-21 06:08:11 EDT
Using "-t ftp://....." does not work for me. The following patch fixes
it:

--- urlmethod.py.orig   2004-09-21 11:50:39.446812792 +0200
+++ urlmethod.py        2004-09-21 11:50:25.930867528 +0200
@@ -141,7 +141,7 @@
         # FIXME: there is no mkstemp in python :(
         fn = tempfile.mktemp()

-        if h[1000005] is None:
+        if h[1000005] is None or h[1000005] == []:
             path = self.packagesDir
         else:
             path = "%s/../Updates" %(self.packagesDir,)
Comment 1 Jeremy Katz 2004-09-21 09:20:24 EDT
Fixed in CVS (although with a slightly different patch)
Comment 2 John Thacker 2006-04-21 21:11:37 EDT
If this was fixed in CVS a year and a half ago, it should be fixed now.  Also,
system-config-packages is deprecated now in favor of pirut and doesn't exist in
FC5.  Closing.

Note You need to log in before you can comment on or make changes to this bug.