Changeset 17 for trunk/pxeconfig/hexls


Ignore:
Timestamp:
09/10/02 16:10:47 (20 years ago)
Author:
sscpbas
Message:

Fixed a bug in hexls. The regexp to determine if a filename is PXE
boot file was wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pxeconfig/hexls

    r14 r17  
    2626
    2727CVS info
    28   $Date: 2002/08/15 06:36:47 $
    29   $Revision: 1.3 $
     28  $Date: 2002/09/10 14:10:47 $
     29  $Revision: 1.4 $
    3030'''
    3131
     
    3737        '''list directory, convert hexadecimal to dotted decimal'''
    3838
    39         regexp = re.compile('[' + string.hexdigits + ']+')
     39        regexp = re.compile('[' + string.hexdigits + ']{8}' )
    4040        for f in os.listdir(path):
    4141                if regexp.match(f) and len(f) == 8:
Note: See TracChangeset for help on using the changeset viewer.