def _scan_sr(session, sr_ref=None):
 if sr_ref:
  LOG.debug(_('Re-scanning SR %s'), sr_ref)
  session.call_xenapi('SR.scan', sr_ref)

def _scan_sr ( session , sr_ref = None ) : if sr_ref : LOG . debug ( _ ( 'Re-scanning SR %s' ) , sr_ref ) session . call_xenapi ( 'SR.scan' , sr_ref )
scans the sr specified by sr_ref .