Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
montyly committed Dec 21, 2022
1 parent c75278f commit e353256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/solc_parsing/declarations/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ def _handle_comment(self, attributes: Dict) -> None:
if "@custom:security isUpgradeable" in candidate:
self._contract.is_upgradeable = True

version_name = re.search(r'@custom:version name=([\w-]+)', candidate)
version_name = re.search(r"@custom:version name=([\w-]+)", candidate)
if version_name:
self._contract.upgradeable_version = version_name.group(1)

Expand Down

0 comments on commit e353256

Please sign in to comment.