Skip to content

Commit e6470b2

Browse files
committed
Merge pull request alphagov#145 from alphagov/fix-host-verification
Fix host splitting
2 parents b69c1ca + a19c780 commit e6470b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fabfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def fetch(self):
9696

9797
for host in self.hosts:
9898
try:
99-
name, vdc, _ = host.split('.', 3)
99+
name, vdc, _ = host.split('.', 2)
100100
except ValueError:
101101
warn("discarding badly formatted hostname '{0}'".format(host))
102102
continue

0 commit comments

Comments
 (0)