I suggest as an alternative that you figure out approximately how long the original is, and then buy several pieces of prefab brake line at the autoparts store of your choice, along with sufficient double-female connectors to join them. These parts are cheap, so make your initial estimate a little long, and get the parts for that estimate, and then get one extra (and a connector) that's a little shorter. Now, without having to do contortions or trying to bend a single piece to the right shape and size all at once, you can splice together a brake line of the correct, or nearly correct, length. If it's a little long you can do a graceful loop or arc at the master cylinder end. If it's way too long, use the shorter spare piece, and if it's way too short, add the shorter piece. If you have a piece left over, either return it or keep it in stock, because you'll almost certainly need it someday.
When the lines rust again a few years down the road, they will be much easier to fix, because the brass connectors will allow you to replace bad sections individually.