Commit 794cecec by Jesse Zoldak

Merge pull request #11517 from edx/clintonb/package-uninstall-fix

Fixed package uninstall for django-oauth2-provider
parents 9b5b7837 8af930d2
......@@ -195,7 +195,7 @@ def uninstall_python_packages():
uninstalled = True
# Uninstall django-oauth2-provider
if any("django-oauth2-provider==" in line for line in frozen):
if any(line.startswith("django-oauth2-provider==") for line in frozen):
sh("pip uninstall --disable-pip-version-check -y django-oauth2-provider")
uninstalled = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment