Browse Source

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

comment
pull/592/head
Jonathan Leroy 5 years ago
parent
commit
95a71a268e
No known key found for this signature in database GPG Key ID: 7A0BCBE3934842EA
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      octodns/manager.py

+ 4
- 1
octodns/manager.py 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']


Loading…
Cancel
Save