- Timestamp:
- Apr 12, 2004, 9:57:29 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/prepconf.py
r1980 r1995 3 3 import re 4 4 5 first = 1 6 5 7 def parse_wleiden_conf(lines): 8 global first 6 9 essid = None 7 10 wi = None … … 22 25 match = re.match("^\$nodename='([^']*)';.*", l) 23 26 if match != None: 24 print "" 27 if first: 28 first = 0 29 else: 30 print "" 25 31 print match.group(1).lower(), 26 32 match = re.match("^\$config{'wi[0-9]*:[0-9].*", l)
Note:
See TracChangeset
for help on using the changeset viewer.