Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Oct 25, 2024

These functions are almost identical:

  • upload_files_to_server(db)
  • upload_docs_to_the_docs_server(db)

image

Let's rename the first so they're both specific:

  • upload_files_to_server(db) -> upload_files_to_downloads_server(db)
  • upload_docs_to_the_docs_server(db)

And then move the duplicate code into a new general upload_files_to_server(db, server).

@hugovk hugovk merged commit ad59d0b into python:master Nov 15, 2024
@hugovk hugovk deleted the rm-duplication branch November 15, 2024 15:45
@hugovk hugovk mentioned this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant