Skip to content

Commit fc0586b

Browse files
committed
reformatted
1 parent 77121d9 commit fc0586b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pyiceberg/catalog/hive.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,12 @@ def commit_table(
551551
raise CommitFailedException(f"Failed to acquire lock for {table_identifier}, state: {lock.state}")
552552

553553
return self._do_commit(
554-
open_client, table_identifier, database_name, table_name, requirements, updates,
554+
open_client,
555+
table_identifier,
556+
database_name,
557+
table_name,
558+
requirements,
559+
updates,
555560
lock_enabled=True,
556561
)
557562
except WaitingForLockException as e:
@@ -560,7 +565,12 @@ def commit_table(
560565
open_client.unlock(UnlockRequest(lockid=lock.lockid))
561566
else:
562567
return self._do_commit(
563-
open_client, table_identifier, database_name, table_name, requirements, updates,
568+
open_client,
569+
table_identifier,
570+
database_name,
571+
table_name,
572+
requirements,
573+
updates,
564574
lock_enabled=False,
565575
)
566576

0 commit comments

Comments
 (0)