From d6495659114a65cffd271c9ad705e48f4cb3f649 Mon Sep 17 00:00:00 2001 From: Peter Giacomo Lombardo Date: Tue, 4 Jun 2019 11:21:56 +0200 Subject: [PATCH] Add twine to the do not instrument blacklist --- instana/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instana/__init__.py b/instana/__init__.py index 3bd3c428..810e7671 100644 --- a/instana/__init__.py +++ b/instana/__init__.py @@ -94,7 +94,7 @@ def boot_agent(): # As a safety measure, we maintain a "do not load list" and if this process matches something # in that list, then we go sit in a corner quietly and don't load anything at all. do_not_load_list = ["pip", "pip2", "pip3", "pipenv", "docker-compose", "easy_install", "easy_install-2.7", - "smtpd.py", "ufw", "unattended-upgrade"] + "smtpd.py", "twine", "ufw", "unattended-upgrade"] # There are cases when sys.argv may not be defined at load time. Seems to happen in embedded Python, # and some Pipenv installs. If this is the case, it's best effort.