Annual report pursuant to Section 13 and 15(d)

Income taxes (Details) - Benefit (provision) for income taxes

v3.5.0.2
Income taxes (Details) - Benefit (provision) for income taxes - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2014
Current (provision) benefit:      
Federal $ (968)    
State and local (276) $ (72) $ (68)
Foreign (45) (25) (22)
Deferred benefit 60 104 18
Benefit (provision) for income taxes $ (1,229) $ 7 $ (72)