Skip to content

Commit

Permalink
[IMP] Made method private
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Oct 9, 2024
1 parent 397731c commit e2180a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/app/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from app.models import Cases


def return_task(success, user, initial, logs, data, case_name, imported_files):
def _return_task(success, user, initial, logs, data, case_name, imported_files):
ret = {
'success': success,
'user': user,
Expand All @@ -56,11 +56,11 @@ def return_task(success, user, initial, logs, data, case_name, imported_files):


def task_success(user=None, initial=None, logs=None, data=None, case_name=None, imported_files=None):
return return_task(True, user, initial, logs, data, case_name, imported_files)
return _return_task(True, user, initial, logs, data, case_name, imported_files)


def task_failure(user=None, initial=None, logs=None, data=None, case_name=None, imported_files=None):
return return_task(False, user, initial, logs, data, case_name, imported_files)
return _return_task(False, user, initial, logs, data, case_name, imported_files)


class FileRemover(object):
Expand Down

0 comments on commit e2180a2

Please sign in to comment.