def detectCustomImportPaths(self, prefix):
for assignment in self.ip2pp_mapping:<EOL><INDENT>if prefix.startswith(assignment["<STR_LIT>"]):<EOL><INDENT>return {"<STR_LIT>": assignment["<STR_LIT>"], "<STR_LIT>": assignment["<STR_LIT>"]}<EOL><DEDENT><DEDENT>return {}<EOL>
Some prefixes does not reflect provider prefix
e.g. camlistore.org/pkg/googlestorage is actually at
github.com/camlistore/camlistore repository under
pkg/googlestorage directory.