Actually, it was Edinburgh. Yes, the more refined city:-)
From the Wikipedia article:
Filming locations
Despite being set in Edinburgh, almost all of the film was shot in Glasgow, apart from the opening scenes, which were shot in Edinburgh, and the final scenes which were shot in London.