def __init__(self, number):
        self.number = number
        # FIXME: need to make sure we're really getting a number and not any non-number characters.
        try:
            self.digits = [int(digit) for digit in str(self.number).strip()]
            self.region_code = int(str(self.digits[0]) + str(self.digits[1]))
            self.converted = True
        except __HOLE__:
            # Not a number, failed to convert
            self.digits = None
            self.region_code = None
            self.converted = False
dataset/ETHPy150Open wesabe/fixofx/lib/ofx/validators.py/RoutingNumber.__init__