XML 49 R38.htm IDEA: XBRL DOCUMENT v3.8.0.1
Discontinued operations (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2017
Oct. 31, 2016
Discontinued operations        
Discontinued operation, income tax (benefit) expense $ 0 $ (125) $ 0 $ 578