refs #2151 explicitly return a true value
parent
d76390a7b9
commit
1050133d59
|
@ -134,6 +134,7 @@ def ogUcastSendPartition (disk, par, sess, tool, level):
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_UCASTSENDPARTITION, ' ')
|
||||
return None
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
@ -165,6 +166,7 @@ def ogUcastReceiverPartition (disk, par, sess, tool, level):
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_UCASTRECEIVERPARTITION, ' ')
|
||||
return None
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
@ -235,6 +237,7 @@ def ogUcastSendFile (disk=None, par=None, container=None, file=None, sess=None):
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_UCASTSENDFILE, ' ')
|
||||
return None
|
||||
return True
|
||||
|
||||
def _clientip():
|
||||
ipas = subprocess.run (['ip', '-json', 'address', 'show', 'up'], capture_output=True, text=True).stdout
|
||||
|
@ -493,6 +496,7 @@ def ogMcastSendFile (disk=None, par=None, container=None, file=None, sess=None):
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_MCASTSENDFILE, ' ')
|
||||
return None
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
@ -554,6 +558,7 @@ def ogMcastReceiverFile (disk=None, par=None, container=None, file=None, sess=No
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_MCASTRECEIVERFILE, targetfile)
|
||||
return None
|
||||
return True
|
||||
|
||||
|
||||
#/**
|
||||
|
@ -586,6 +591,7 @@ def ogMcastSendPartition (disk, par, sess, tool, compressor):
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_MCASTSENDPARTITION, ' ')
|
||||
return None
|
||||
return True
|
||||
|
||||
#/**
|
||||
# ogMcastReceiverPartition
|
||||
|
@ -611,6 +617,7 @@ def ogMcastReceiverPartition (disk, par, sess, tool, compressor):
|
|||
except subprocess.CalledProcessError:
|
||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_MCASTRECEIVERPARTITION, ' ') ## original code has OG_ERR_MCASTSENDPARTITION
|
||||
return None
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue