Skip to content

Commit

Permalink
[FIX] refactorizacion total
Browse files Browse the repository at this point in the history
  • Loading branch information
jobiols committed Sep 8, 2024
1 parent 8f68633 commit 6e99be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/gen_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def gen_readme(files, **kwargs):
for file in files:

# Filtrar los directorios que son modulos
module = is_module(addons, file)
module = is_module(file)
if module:
modules.add(module)

Expand Down
2 changes: 1 addition & 1 deletion tools/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_manifest_path(addons, module):
return manifest_path


def is_module(addons_path, file):
def is_module(file):
"""verifica si un archivo pertenece a un modulo, se le pasan todos los archivos
desde la raiz del repositorio, si el path al archivo es de la forma xxx/__init__.py
o yyy/__manifest__.py entonces xxx o yyy son modulos.
Expand Down

0 comments on commit 6e99be0

Please sign in to comment.