Skip to content

Commit

Permalink
fix: == None
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Schneider committed Dec 20, 2023
1 parent 6bf759e commit e3fbeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capella2polarion/c2polarion.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _save_value_string(self, aValue: str | None) -> str | None:

def setup_client(self) -> None:
"""Instantiate the polarion client, move to PolarionWorker Class."""
if (self.polarion_params.project_id == None) or (
if (self.polarion_params.project_id is None) or (
len(self.polarion_params.project_id) == 0
):
raise ValueError(
Expand Down

0 comments on commit e3fbeb8

Please sign in to comment.