From 4fffdee6337fd39c775a1396dd529a6df49cd3f0 Mon Sep 17 00:00:00 2001 From: Eoin O'Donohoe <7ampersand7@gmail.com> Date: Mon, 21 Mar 2016 10:21:43 +0000 Subject: [PATCH] Tape Ingest host computers Changes made. --- revtmd.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/revtmd.py b/revtmd.py index b0a0015..bfc1d89 100755 --- a/revtmd.py +++ b/revtmd.py @@ -413,17 +413,17 @@ def deck_func(number): def workstation(number): add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:role', 'Host Computer', revtmd_xmlfile) add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:manufacturer', 'Hewlett Packard', revtmd_xmlfile) - add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:modelName', 'ABC123', revtmd_xmlfile) + add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:modelName', 'Z420 Workstation', revtmd_xmlfile) add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:version', 'ABC123', revtmd_xmlfile) - add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:serialNumber', 'ABC123', revtmd_xmlfile) + add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:serialNumber', 'CZC4310HNZ', revtmd_xmlfile) no_of_emptyfields = 6 elif workflow == "Tape Ingest 2": def workstation(number): add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:role', 'Host Computer', revtmd_xmlfile) - add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:manufacturer', 'Hewlett Packard2', revtmd_xmlfile) - add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:modelName', 'ABC123', revtmd_xmlfile) + add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:manufacturer', 'Hewlett Packard', revtmd_xmlfile) + add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:modelName', 'Z420 Workstation', revtmd_xmlfile) add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:version', 'ABC123', revtmd_xmlfile) - add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:serialNumber', 'ABC123', revtmd_xmlfile) + add_to_revtmd('//revtmd:codingProcessHistory' + str([number]) + '/revtmd:serialNumber', 'CZC4310HP8', revtmd_xmlfile) # Currently unused, but I'll get around to it :[ else: no_of_emptyfields = 18