I think the definition of continuity says that a function f:X->Y is continuous at the point x if for any neighborhood of fx in Y there exists a neighborhood of x that its image is contained in the neighborhood of fx. in other words, fN(x,delta,X) must be a subset of N(fx,epsilon,Y). so, if your metric is defined to be the Euclidean metric, you'll have the old nice definition of continuity but if your metric is not Euclidean, then the calculations will be different because this time |x-a|<delta -> |f(x) - L|<epsilon is not necessarily what you have. I mean let our metric be something different and then this definition need to be modified to something that comes from our metric function.
Actually I'm a freshman in pure mathematics and have no experience in Topology, so maybe It was stupid to comment on something that I don't know much about it but I think that when the metric is not Euclidean the Bolzano definition of continuity should be modified. but still, that won't change the outcome I guess.