Skip to content

Commit

Permalink
Update src/viadot/sources/sap_rfc.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Zawadzki <[email protected]>
  • Loading branch information
marcinpurtak and trymzet authored Nov 6, 2024
1 parent a1652b0 commit 0dfb6c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/viadot/sources/sap_rfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,8 +1155,7 @@ def to_df(self, tests: dict | None = None) -> pd.DataFrame: # noqa: C901, PLR09
actual_length_of_field < unique_column_len
)
if any(rows_missing_whitespaces):
# Check how many whitespaces is missing for each row
# column value
# Check how many whitespaces are missing in each row.
logger.info(f"Adding whitespaces for {col} column")
missing_whitespaces_len = (
unique_column_len - actual_length_of_field
Expand Down

0 comments on commit 0dfb6c6

Please sign in to comment.