changeset 3200:22b36ac203b5

Task #15167: Fix loop exit error
author Chris Zimmerman <chris@teffalump.com>
date Sat, 09 Feb 2019 21:49:19 -0800
parents ed41e03a7cba
children 42fdb6e85bdc
files tryton/health_orthanc/health_orthanc.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_orthanc/health_orthanc.py
+++ b/tryton/health_orthanc/health_orthanc.py
@@ -94,7 +94,7 @@
                 except:
                     server.validated = False
                     logger.info('Invalid details for <{}>'.format(server.label))
-                    continue
+                    break
                 for change in changes['Changes']:
                     type_ = change['ChangeType']
                     if type_ == 'NewStudy':