I love dogs, but what would you have done?

What that guy did was wrong, the dog didn't know any better. You handled it better than I would've and I never let my dogs crap in someone elses yard.