Skip to content

Commit

Permalink
Use single-quote to ensure code is valid when executed on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Sep 19, 2022
1 parent 62bc8a1 commit f5aa432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

[Full changelog](https://github.com/mozilla/glean/compare/v51.2.0...main)

* Kotlin
* Gradle plugin: Fix quoting issue in Python wrapper code ([#2193](https://github.com/mozilla/glean/pull/2193))

# v51.2.0 (2022-09-08)

[Full changelog](https://github.com/mozilla/glean/compare/v51.1.0...v51.2.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ else:
sys.exit(1)
else:
# We check MAJOR.MINOR only
expected_ver = expected_version.split(".")
expected_ver = expected_version.split('.')
expected_maj, expected_min = int(expected_ver[0]), int(expected_ver[1])
current_ver = found_version.split(".")
current_ver = found_version.split('.')
current_maj, current_min = int(current_ver[0]), int(current_ver[1])
if current_maj > expected_maj or current_maj < expected_maj or (current_maj == expected_maj and current_min < expected_min):
Expand Down

0 comments on commit f5aa432

Please sign in to comment.