If you pulled a length of brake line off, it will take several attempts to get all the air bled out. Here's a procedure I wrote down when I was younger...
1-have assistant pump brakes 1/2 way down several times (~15 seconds)
2-press and hold the brakes firmly
3-open bleeder screw for a few seconds, then close up again
4-release brake pedal
5-WAIT 15 seconds
6-repeat steps 1-5 at all four tires until ALL the air is out!
P.S. Don;t forget to keep an eye on the fluid in the master cylinder. if it gets too low, you will be introducing air into the lines again
Dano