diff --git a/lookup/py_pkgs.py b/lookup/py_pkgs.py index 546d34b..68e192b 100644 --- a/lookup/py_pkgs.py +++ b/lookup/py_pkgs.py @@ -600,6 +600,9 @@ class DependencyFileProcessor(object): :type pip_packages: ``bool`` """ if [i for i in pkg_constant if i in pkg_var_name]: + if 'proprietary' in pkg_var_name: + return + self._package_build_index( packages=packages, role_name=role_name, @@ -614,8 +617,6 @@ class DependencyFileProcessor(object): return elif 'optional' in pkg_var_name: return - elif 'proprietary' in pkg_var_name: - return else: self._package_build_index( packages=packages,