Skip to content

Commit

Permalink
Added get_package_manager from dvc.utils.pkg.
Browse files Browse the repository at this point in the history
Solves issue iterative#2672
  • Loading branch information
kss682 committed Nov 4, 2019
1 parent 8903dbb commit 3421c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvc/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from dvc import __version__
from dvc.lock import Lock, LockError
from dvc.utils import boxify, env2bool

from dvc.utils.pkg import get_package_manager

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -140,6 +140,6 @@ def _get_update_instructions(self):
),
}

package_manager = self._get_package_manager()
package_manager = get_package_manager()

return instructions[package_manager]

0 comments on commit 3421c6c

Please sign in to comment.