forked from mirrors/gecko-dev
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue