comparison Resources/Samples/Python/HighPerformanceAutoRouting.py @ 1144:fef79a477e09

note
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Sep 2014 10:26:32 +0200
parents 8bff277e6886
children 4e9d517503ae
comparison
equal deleted inserted replaced
1143:8bff277e6886 1144:fef79a477e09
118 RestToolbox.DoDelete('%s/instances/%s' % (URL, instance)) 118 RestToolbox.DoDelete('%s/instances/%s' % (URL, instance))
119 119
120 # Clear the log of the exported instances (to prevent the 120 # Clear the log of the exported instances (to prevent the
121 # SQLite database from growing indefinitely). More simply, 121 # SQLite database from growing indefinitely). More simply,
122 # you could also set the "LogExportedResources" option to 122 # you could also set the "LogExportedResources" option to
123 # "false" in the configuration file. 123 # "false" in the configuration file since Orthanc 0.8.3.
124 RestToolbox.DoDelete('%s/exports' % URL) 124 RestToolbox.DoDelete('%s/exports' % URL)
125 125
126 end = time.time() 126 end = time.time()
127 print 'The packet of %d instances has been sent in %d seconds' % (len(instances), end - start) 127 print 'The packet of %d instances has been sent in %d seconds' % (len(instances), end - start)
128 128