refactor: Remove unused args in get_doc_files (#12298)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
parent
53ec2b2ff6
commit
9e5dfc2859
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ def sync_for(app_name, force=0, sync_everything = False, verbose=False, reset_pe
|
|||
|
||||
for module_name in frappe.local.app_modules.get(app_name) or []:
|
||||
folder = os.path.dirname(frappe.get_module(app_name + "." + module_name).__file__)
|
||||
get_doc_files(files, folder, force, sync_everything, verbose=verbose)
|
||||
get_doc_files(files, folder)
|
||||
|
||||
l = len(files)
|
||||
if l:
|
||||
|
|
@ -77,7 +77,7 @@ def sync_for(app_name, force=0, sync_everything = False, verbose=False, reset_pe
|
|||
# print each progress bar on new line
|
||||
print()
|
||||
|
||||
def get_doc_files(files, start_path, force=0, sync_everything = False, verbose=False):
|
||||
def get_doc_files(files, start_path):
|
||||
"""walk and sync all doctypes and pages"""
|
||||
|
||||
# load in sequence - warning for devs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue