fetch: correctly handle file name without scheme
authorZac Medico <zmedico@gentoo.org>
Fri, 24 May 2013 00:06:32 +0000 (17:06 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 24 May 2013 00:06:32 +0000 (17:06 -0700)
commit9abb6fae60fa7700d8aa900f1cc2730581d84279
tree31ca5c728981adca5d219223c824b3ecd1d4c633
parent4c5b4a1df363a61ecb0590d64adc12e167903006
fetch: correctly handle file name without scheme

Before, the file name would be passed directly to FETCHCOMMAND as
though it were a valid URI. Now, FETCHCOMMAND will only be called when
there is a valid URI or a mirror to try.
pym/portage/dbapi/porttree.py
pym/portage/package/ebuild/fetch.py