1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Apply workaround for python bug #2506 witout using "pragma: no cover"

comment
This commit is contained in:
Jonathan Leroy
2020-10-31 23:51:04 +01:00
parent e524d69f63
commit 95a71a268e

View File

@@ -473,7 +473,10 @@ class Manager(object):
raise ManagerException('Invalid alias zone {}: '
'source zone {} does not exist'
.format(zone_name, source_zone))
continue # pragma: no cover, see Python bug #2506.
# this is just here to satisfy coverage, see
# https://github.com/nedbat/coveragepy/issues/198
source_zone = source_zone
continue
try:
sources = config['sources']