

def removePackage(self, index):
    try:
        self.composerJson.removePackage(index)
        self.composerJson.save()
        thread.start_new_thread(self.showTimedStatusMessage, ('package removed',))
    except Exception:
        e = sys.exc_info()[1]
        ow = OutputWindow(self.view.window())
        ow.write('Composer Error:\n\t')
        ow.write(('%s' % e))

dataset/ETHPy150Open francodacosta/composer-sublime/composer.py ComposerRemovePackageCommand.removePackage/original