Page MenuHomePhabricator

py3: hack around inconsistency of type of name passed to DNSQuestion
Needs ReviewPublic

Authored by pulkit on Tue, Jun 11, 2:00 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

I don't like this patch but this is the easiest way I could fix it. There are
some callers which pass name which is bytes, some pass name which is str. I just
encode() that if that's str.

This does makes test-paths.t pass, but I am not confident whether the whole of
zeroconf will work on py3 or not.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped