Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #2487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ember/app/sentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function startSentry() {
let error = hint.originalException;

if (error) {
// ignore cancelation errors from the Ember router of ember-concurrency
// ignore cancellation errors from the Ember router of ember-concurrency
if (error.name === 'TaskCancelation' || error.name === 'TransitionAborted') {
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion skylines/api/views/flights.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def _reanalyse_if_needed(flight):
tasks.analyse_flight.delay(flight.id)
except ConnectionError:
current_app.logger.info("Cannot connect to Redis server")
# analyse syncronously...
# analyse synchronously...
analyse_flight(flight)
db.session.commit()

Expand Down
4 changes: 2 additions & 2 deletions skylines/model/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,10 @@ def update_flight_path(flight):
if len(path_detailed) < 2:
return False

# Number of points in each chunck.
# Number of points in each chunk.
num_points = 100

# Interval of the current chunck: [i, j] (-> path_detailed[i:j + 1])
# Interval of the current chunk: [i, j] (-> path_detailed[i:j + 1])
i = 0
j = min(num_points - 1, len(path_detailed) - 1)

Expand Down