from six.moves import urllib

from kiwi.store.tracking.file_store import FileStore


class PluginFileStore(FileStore):
    """FileStore provided through entrypoints system"""

    def __init__(self, store_uri=None, artifact_uri=None):
        path = urllib.parse.urlparse(store_uri).path if store_uri else None
        self.is_plugin = True
        super(PluginFileStore, self).__init__(path, artifact_uri)

[(10, 'six.moves.urllib.parse.urlparse', 'urllib.parse.urlparse', False, 'from six.moves import urllib\n')]