Changes in trunk/python/parameters.py [1861:1834]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/parameters.py
r1861 r1834 1 """This module provides functions to set up resource parameters (rc).2 These can be set in a file .asaprc or using functions.3 """4 1 __all__ = ["rc", "list_rcparameters", "rcParams", "rcParamsDefault"] 5 2 … … 85 82 print """ 86 83 # general 87 # only valid in asap standard mode not in scripts or casapy 88 # It will disable exceptions and just print the messages 84 # print verbose output 89 85 verbose : True 90 86 … … 177 173 print ('Illegal line #%d\n\t%s\n\tin file "%s"' % (cnt, line, fname)) 178 174 #asaplog.push('Illegal line #%d\n\t%s\n\tin file "%s"' % (cnt, line, fname)) 179 # asaplog.post('WARN')175 #print_log('WARN') 180 176 continue 181 177 … … 185 181 print ('Bad key "%s" on line %d in %s' % (key, cnt, fname)) 186 182 #asaplog.push('Bad key "%s" on line %d in %s' % (key, cnt, fname)) 187 # asaplog.post('WARN')183 #print_log('WARN') 188 184 continue 189 185 … … 197 193 print ('Bad val "%s" on line #%d\n\t"%s"\n\tin file "%s"\n\t%s' % (val, cnt, line, fname, msg)) 198 194 #asaplog.push('Bad val "%s" on line #%d\n\t"%s"\n\tin file "%s"\n\t%s' % (val, cnt, line, fname, str(msg))) 199 # asaplog.post('WARN')195 #print_log('WARN') 200 196 continue 201 197 else:
Note:
See TracChangeset
for help on using the changeset viewer.