stop emailing me because of a temporary rsync error
This commit is contained in:
parent
c546d427fd
commit
0ed777e86b
@ -264,10 +264,13 @@ class MirrorMgr(object):
|
|||||||
if chk == 0:
|
if chk == 0:
|
||||||
_open = True
|
_open = True
|
||||||
break
|
break
|
||||||
|
if os.isatty(sys.stdin.fileno()):
|
||||||
if not _open:
|
if not _open:
|
||||||
raise RuntimeError(('Rsync on host {0}:{1} is not ' +
|
raise RuntimeError(('Rsync on host {0}:{1} is not ' +
|
||||||
'accessible!').format(_split_srv[0],
|
'accessible!').format(_split_srv[0],
|
||||||
_port))
|
_port))
|
||||||
|
else:
|
||||||
|
exit()
|
||||||
return()
|
return()
|
||||||
def chkdest():
|
def chkdest():
|
||||||
_dest = os.path.abspath(
|
_dest = os.path.abspath(
|
||||||
|
Loading…
Reference in New Issue
Block a user