32 print repr(testui.config('values', 'bool2')) |
32 print repr(testui.config('values', 'bool2')) |
33 print repr(testui.config('values', 'unknown')) |
33 print repr(testui.config('values', 'unknown')) |
34 print "---" |
34 print "---" |
35 try: |
35 try: |
36 print repr(testui.configbool('values', 'string')) |
36 print repr(testui.configbool('values', 'string')) |
37 except ValueError, why: |
37 except util.Abort, inst: |
38 print why |
38 print inst |
39 print repr(testui.configbool('values', 'bool1')) |
39 print repr(testui.configbool('values', 'bool1')) |
40 print repr(testui.configbool('values', 'bool2')) |
40 print repr(testui.configbool('values', 'bool2')) |
41 print repr(testui.configbool('values', 'bool2', True)) |
41 print repr(testui.configbool('values', 'bool2', True)) |
42 print repr(testui.configbool('values', 'unknown')) |
42 print repr(testui.configbool('values', 'unknown')) |
43 print repr(testui.configbool('values', 'unknown', True)) |
43 print repr(testui.configbool('values', 'unknown', True)) |