it wasn't actually needed to comply with PMS 9.2.8, and the change actuall
caused incorrect mirror fetching behavior.
svn path=/main/trunk/; revision=11558
eidx = myuri.find("/", 9)
if eidx != -1:
mirrorname = myuri[9:eidx]
- if myfile != os.path.basename(myuri):
- # If a SRC_URI arrow is used together with
- # mirror://, preserve the remote path that's
- # specified within the uri.
- path = myuri[eidx+1:]
- else:
- path = myfile
+ path = myuri[eidx+1:]
# Try user-defined mirrors first
if mirrorname in custommirrors: