From e6aa2e97a6a3bb5f826a49b042b7e587588643bb Mon Sep 17 00:00:00 2001 From: Adam Rehn Date: Thu, 13 Aug 2020 18:28:36 +1000 Subject: [PATCH] Add underscore to private function in the precompute command --- conan_ue4cli/commands/precompute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conan_ue4cli/commands/precompute.py b/conan_ue4cli/commands/precompute.py index c3f35dd..a7aa97c 100644 --- a/conan_ue4cli/commands/precompute.py +++ b/conan_ue4cli/commands/precompute.py @@ -4,7 +4,7 @@ # Retrieves the Unreal Engine module name for a third-party library wrapper package -def getUnrealModule(package): +def _getUnrealModule(package): # Verify that the specified package is a wrapper package if package['version'] != 'ue4' or package['description'] != 'GENERATED WRAPPER FOR: {}'.format(package['name']): @@ -93,7 +93,7 @@ def precompute(manager, argv): continue # If the dependency is an Unreal-bundled library that we can safely use in Installed Builds, link to its module directly - module = getUnrealModule(dependency) + module = _getUnrealModule(dependency) if module is not None and module in UNREAL_MODULE_WHITELIST: flags['unreal_modules'].append(module) continue