[addresses] sample_alphabet (Zipfian) in PO box rather than a uniform choice

This commit is contained in:
Al
2016-04-28 13:07:16 -04:00
parent 3845c58ca3
commit 7e5ecb30cf

View File

@@ -25,7 +25,7 @@ class POBox(NumberedComponent):
@classmethod
def random_letter(cls, alphabet=latin_alphabet):
return random.choice(alphabet)
return sample_alphabet(alphabet)
@classmethod
def phrase(cls, box_number, language, country=None):