Police say a drug deal gone bad led to a lockdown at two high schools yesterday.

Tommy Douglas Collegiate High School, Bethlehem Catholic High School and the Shaw Centre in Saskatoon were put on a precautionary lockdown as police responded to a call about a teen with what appeared to be a gun.

No gun ever did surface. Police now say the altercation began outside the school when a 17-year-old was selling marijuana to three other teens. A 15-year-old tried to rob the dealer and a fight broke out, police said.

The 17-year-old and 15-year-old both appeared in court this morning, one charged with trafficking and the other with robbery. The Crown opposed their release and the pair will stay in custody until their bail hearings Monday.

The lockdowns ended around 6:30 p.m. CST and people who were still in the buildings were able to leave.

Police were called to the area of the schools at 4:10 p.m. to deal with a report that four teenagers had been involved in an altercation.

The youths had all fled the scene.

While classes had already ended, police said the two schools and the nearby community centre were put in a lockdown as a precaution.