Example #1
0
 def get_issue_code_choices(self):
     """
     Returns the possible issue codes for the current symptom code
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'issue_codes-%s' % self.symptom_code
     si = SymptomIssue(reportedSymptomCode=self.symptom_code)
     return cache_getset(ckey, si.fetch)
Example #2
0
 def get_symptom_code_choices(self):
     """
     Returns the possible symptom codes for the current serial number
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'symptom_codes-%s' % self.device.sn
     si = SymptomIssue(serialNumber=self.device.sn)
     return cache_getset(ckey, si.fetch)
Example #3
0
File: repair.py Project: fpsw/Servo
 def get_issue_code_choices(self):
     """
     Returns the possible issue codes for the current symptom code
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = "issue_codes-%s" % self.symptom_code
     si = SymptomIssue(reportedSymptomCode=self.symptom_code)
     return cache_getset(ckey, si.fetch)
Example #4
0
File: repair.py Project: fpsw/Servo
 def get_symptom_code_choices(self):
     """
     Returns the possible symptom codes for the current serial number
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = "symptom_codes-%s" % self.device.sn
     si = SymptomIssue(serialNumber=self.device.sn)
     return cache_getset(ckey, si.fetch)
Example #5
0
 def get_issue_code_choices(self):
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'issue_codes-%s' % self.symptom_code
     si = SymptomIssue(reportedSymptomCode=self.symptom_code)
     return cache_getset(ckey, si.fetch)
Example #6
0
 def get_symptom_code_choices(self):
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'symptom_codes-%s' % self.device.sn
     si = SymptomIssue(serialNumber=self.device.sn)
     return cache_getset(ckey, si.fetch)