mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1785139 - linting fixup for vendor_manifest. r=lint-fix CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D155109
This commit is contained in:
parent
ee45833aff
commit
05eb26435b
@ -139,7 +139,7 @@ class VendorManifest(MozbuildObject):
|
||||
cargo_file = os.path.join(os.path.dirname(self.yaml_file), "Cargo.toml")
|
||||
try:
|
||||
_replace_in_file(cargo_file, old_revision, new_revision)
|
||||
except:
|
||||
except Exception:
|
||||
# If we can't find it the first time, try again with a short hash
|
||||
_replace_in_file(cargo_file, old_revision[:8], new_revision)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user