Skip to content

Commit

Permalink
remove unnecessary pip check
Browse files Browse the repository at this point in the history
  • Loading branch information
n3hrox committed Nov 10, 2019
1 parent 172ad71 commit 3ba4b8b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions dvc/utils/pkg.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
from dvc.utils import is_binary


def check_build_patch():
def get_package_manager():
try:
from .build import PKG # file created during dvc build

return PKG
except ImportError:
return None


def get_package_manager():
if not is_binary():
return "pip"

return check_build_patch()

0 comments on commit 3ba4b8b

Please sign in to comment.