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