Skip to content

Commit

Permalink
fix: system_lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Jun 19, 2024
1 parent d782e5e commit e99aeee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion harvey/locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def retrieve_lock(project_name: str) -> Dict[str, bool]:

return {
'locked': lock_status['locked'],
'system_lock': lock_status['system_lock'],
'system_lock': lock_status.get('system_lock'),
}


Expand Down
2 changes: 1 addition & 1 deletion harvey/repos/locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def retrieve_locks(request: flask.Request) -> Dict[str, List[Any]]:
{
'project': key,
'locked': values['locked'],
'system_lock': values['system_lock'],
'system_lock': values.get('system_lock'),
}
)

Expand Down

0 comments on commit e99aeee

Please sign in to comment.