Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

in dns builds, skip if not root_domain

  • Loading branch information...
commit 36c354ac567471d5e36dccf9eea5096c6b02d4b9 1 parent 568927c
@murrown murrown authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 cyder/cydns/cybind/builder.py
View
4 cyder/cydns/cybind/builder.py
@@ -615,6 +615,10 @@ def build_zone_files(self, soa_pks_to_rebuild):
# it as dirty so it can be rebuild
try:
root_domain = soa.root_domain # This is an expensive lookup
+
+ if not root_domain:
+ continue
+
# General order of things:
# * Find which views should have a zone file built and add them
# to a list.
Please sign in to comment.
Something went wrong with that request. Please try again.