Skip to content

Update.js#7708

Open
khancyr wants to merge 5 commits intoArduPilot:masterfrom
khancyr:update.js
Open

Update.js#7708
khancyr wants to merge 5 commits intoArduPilot:masterfrom
khancyr:update.js

Conversation

@khancyr
Copy link
Copy Markdown
Contributor

@khancyr khancyr commented Apr 24, 2026

Some slight cleanup on the common copy file :
remove useless exception : if filecmp.cmp it would be from a filesystem issue so the following write on will also raise an error, therefore that is useless so we can simplify

unifiy the variables names as they are all the same
For the useralert.js, we don't need clever directive, just copying to the vehicle _static directory is enough
Correct the default vehicle copy list by adding antennatracker and blimp

Copy link
Copy Markdown
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing evidence?

Comment thread update.py
# debug(" FILE: %s" % file)
source_file_path = os.path.join(root, file)
source_file = open(source_file_path, 'r', encoding='utf-8')
source_file = open(file_path, 'r', encoding='utf-8')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pathlib would be nice here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants