Annual report pursuant to Section 13 and 15(d)

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

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