check for "" suffix in FQDN for copyright hook

This will cause _check_google_copyright() to simply return if
the committer's fully qualified domain name does not end in
"". The idea is to enforce the check for Googlers
but avoid blocking partners and external contributors.

TEST=Tested manually using different arguments to endswith().

Change-Id: I2d36a62de9b0623b8b5960f2f36aa5d2d101f5fb
Reviewed-by: David James <>
Reviewed-by: Doug Anderson <>
Commit-Queue: David Hendricks <>
Tested-by: David Hendricks <>
1 file changed