Lines Matching +full:1 +full:b
45 line = line[:-1]
47 name, val = line[7:].split("=", 1)
79 merge_style = 1
83 if not (argc==1 or argc == 3):
87 if argc == 1:
95 configa_filename = sys.argv[1]
100 b = readconfig(open(configb_filename))
102 e = sys.exc_info()[1]
103 print("I/O error[%s]: %s\n" % (e.args[0],e.args[1]))
106 # print items in a but not b (accumulate, sort and print)
109 if config not in b:
119 if a[config] != b[config]:
122 del b[config]
125 print_config("->", config, a[config], b[config])
126 del b[config]
128 # now print items in b but not in a
129 # (items from b that were in a were removed above)
130 new = sorted(b.keys())
132 print_config("+", config, None, b[config])