- Timestamp:
- Dec 16, 2008, 2:37:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exodus/scripts/genesis_to_exodus.py
r6464 r6466 16 16 if not location.is_valid(): 17 17 print location._errors 18 return 018 return None 19 19 return locmodel.id 20 20 … … 31 31 else: 32 32 print form._errors 33 return 033 return None 34 34 return nodemodel.id 35 35 … … 47 47 print 'Can\'t import interface '+interface['iface'] 48 48 print form._errors 49 return 049 return None 50 50 return intfmodel.id 51 51 … … 63 63 sections.sort() 64 64 for s in sections: 65 list = s.split('/')66 65 if s.find('/') == -1: # get only main node blocks (interface-specific blocks will be accessed later) 67 66 node = { }
Note:
See TracChangeset
for help on using the changeset viewer.