Let $$f(z)=\frac{e^{\pi iz}}{z^2-2z+2}$$ and $\gamma_R$ is the closed contour made up by the semi-circular contour $\sigma_1$ given by, $\sigma_1(t)=Re^{it}$, and the straight line $\gamma_2$ from $-R$ to $R$ (a semi circle).
So the singularities of $f$ are $1+i$ and $1-i$ and it's type is 'double'.
The residue theorem is $$\oint f(z)dz=2\pi i\sum_{k=1}^n I(\gamma,a_k)Res(f,a_k).$$
I'm not sure how to use this theorem to calculate the residues though.
The residue of the function inside the contour is
$$\lim_{z \rightarrow 1+i} (z-(1+i)) f(z) $$
$$ = \frac{e^{i \pi (1+i)}}{2 i} $$
The value of the integral is simply $i 2 \pi $ times this residue.