From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Turmel Subject: Re: Storage device enumeration script Date: Thu, 26 May 2011 08:00:55 -0400 Message-ID: <4DDE40F7.1090908@turmel.org> References: <4DDDC301.7090608@turmel.org> <4DDDC750.6040600@turmel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: CoolCold Cc: =?UTF-8?B?TWF0aGlhcyBCdXLDqW4=?= , linux-raid@vger.kernel.org, Roman Mamedov , John Robinson List-Id: linux-raid.ids On 05/26/2011 04:24 AM, CoolCold wrote: [...] > On Debian Lenny produces error: > root@gamma2:/tmp# python lsdrv > Traceback (most recent call last): > File "lsdrv", line 17, in > import os, io, re > ImportError: No module named io Huh. The 'io' module is v2.6 and above. Another reason to make a helper function for reading these files. Phil