def delete(self, *args, **kwargs):
        pandevice = super(VsysImportMixin, self).pandevice()
        xpath_import = pandevice.xpath_vsys() + "/import" + self.XPATH
        if pandevice.vsys != "shared":
            pandevice.xapi.delete(xpath_import + "/member[text()='%s']" % self.name)
            super(VsysImportMixin, self).delete(*args, **kwargs)
dataset/ETHPy150Open PaloAltoNetworks/SplunkforPaloAltoNetworks/bin/lib/pandevice/pandevice/base.py/VsysImportMixin.delete/original