Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions python/daqconf/set_connectivity_service_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ def set_connectivity_service_port(oksfile, session_name, connsvc_port=0):
if found_var:
break

if not found_var:
print("Error: Could not find a 'CONNECTION_PORT' variable in the session's environment.")
return 0
else:
print("Error: Session has no 'environment' configured. Cannot update CONNECTION_PORT variable.")
return 0

db.commit()
print(f"Successfully configured connectivity service port for session '{session_name}'.")
Expand Down
Loading