Skip to content

Commit

Permalink
Fix merge fuckup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouni committed Jul 30, 2024
1 parent 5e7b9f7 commit 2892a0f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions store.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,6 @@ def update_from_board(self):
"Part %s does not exist in the database and will be created from the board.",
board_part["reference"],
)
<<<<<<< HEAD
self.create_part(part)
elif (
part[0:3] == list(dbpart[0:3])
and part[4:] == [bool(x) for x in dbpart[5:]]
): # if the board part matches the dbpart except for the LCSC and the stock value,
=======
self.create_part(board_part)
# if the board part matches the db_part except for the LCSC and the stock value
elif [
Expand All @@ -200,7 +193,6 @@ def update_from_board(self):
bool(db_part["exclude_from_bom"]),
bool(db_part["exclude_from_pos"]),
]:
>>>>>>> 2621281 (Improve get_part to use dict_factory for better readability)
# if part in the database, has no lcsc value the board part has a lcsc value, update including lcsc
if db_part and not db_part["lcsc"] and board_part["lcsc"]:
self.logger.debug(
Expand Down

0 comments on commit 2892a0f

Please sign in to comment.