Skip to content

Commit

Permalink
fixup! stdlib.run: Fix problems when an executable is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
pirat89 committed Aug 3, 2023
1 parent d9f9e9b commit 3e44c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leapp/models/fields/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, default=None, help=None): # noqa; pylint: disable=redefined-
self._nullable = False
self._default = default

if type(self) == Field: # noqa;
if type(self) is Field:
raise ModelMisuseError("Do not use this type directly.")

def _validate_model_value(self, value, name):
Expand Down

0 comments on commit 3e44c13

Please sign in to comment.