Changeset 17 for trunk/pxeconfig/hexls
- Timestamp:
- 09/10/02 16:10:47 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pxeconfig/hexls
r14 r17 26 26 27 27 CVS info 28 $Date: 2002/0 8/15 06:36:47 $29 $Revision: 1. 3$28 $Date: 2002/09/10 14:10:47 $ 29 $Revision: 1.4 $ 30 30 ''' 31 31 … … 37 37 '''list directory, convert hexadecimal to dotted decimal''' 38 38 39 regexp = re.compile('[' + string.hexdigits + '] +')39 regexp = re.compile('[' + string.hexdigits + ']{8}' ) 40 40 for f in os.listdir(path): 41 41 if regexp.match(f) and len(f) == 8:
Note: See TracChangeset
for help on using the changeset viewer.