Make tool compatible with 2.x and 3.x.
1 file changed