comparison martini/config.py @ 14:904bb82c3308

py35
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 14:46:42 -0800
parents 4faed08eb8d8
children 5de4f7d434de
comparison
equal deleted inserted replaced
13:ce3f13718f6e 14:904bb82c3308
107 missing = set() 107 missing = set()
108 for section in self.sections(): 108 for section in self.sections():
109 for key, val in self.items(section, raw=True): 109 for key, val in self.items(section, raw=True):
110 try: 110 try:
111 self.get(section, key) 111 self.get(section, key)
112 except InterpolationMissingOptionError, e: 112 except InterpolationMissingOptionError as e:
113 missing.add(e.reference) 113 missing.add(e.reference)
114 return missing 114 return missing
115 115
116 def tuples(self): 116 def tuples(self):
117 """ 117 """