Browse Source

Fix Manager comment wrapping

pull/384/head
Ross McFarland 6 years ago
parent
commit
b8e2ec124b
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      octodns/manager.py

+ 6
- 4
octodns/manager.py View File

@ -283,8 +283,9 @@ class Manager(object):
self.log.info('sync: sources=%s -> targets=%s', sources, targets)
try:
# rather than using a list comprehension, we break this loop out
# so that the `except` block below can reference the `source`
# rather than using a list comprehension, we break this loop
# out so that the `except` block below can reference the
# `source`
collected = []
for source in sources:
collected.append(self.providers[source])
@ -410,8 +411,9 @@ class Manager(object):
.format(zone_name))
try:
# rather than using a list comprehension, we break this loop out
# so that the `except` block below can reference the `source`
# rather than using a list comprehension, we break this loop
# out so that the `except` block below can reference the
# `source`
collected = []
for source in sources:
collected.append(self.providers[source])


Loading…
Cancel
Save