threadsafelabs/python-faker — pull request #7 by kmwhite (2012-12-11 05:00:38+00:00)
Title: Cleaning up imports for 2x and 3x compatibility

A quick change to add support for python 3x:

/home/kristofer/projects/github/python-faker
$> python
Python 3.2.3 (default, Dec 9 2012, 16:31:42)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import faker
>>> faker.name.name()
'Rodrick Thiel'
>>> faker.internet.email()
'lauretta@hegmannrunolfsson.info'
>>> faker.company.name()
'Kilback, Wehner and Bergnaum'
>>> faker.address.street_address()
'359 Tyrique Views'
>>>