def _update_bof_pid(self):
     if self.bof_pid:
         return
     try:
         self.bof_pid = borph_utils.get_bof_pid()
     except Exception,e:
         self.bof_pid = None
         raise e 
Example #2
0
 def _update_bof_pid(self):
     if self.is_roach2:
         return
     if self.bof_pid:
         return
     if not self._using_mock_roach:
         try:
             self.bof_pid = borph_utils.get_bof_pid(self.roachip)
         except Exception, e:
             self.bof_pid = None
Example #3
0
 def _update_bof_pid(self):
     if self.is_roach2:
         return
     if self.bof_pid:
         return
     if not self._using_mock_roach:
         try:
             self.bof_pid = borph_utils.get_bof_pid(self.roachip)
         except Exception, e:
             self.bof_pid = None