Commit eedbbc625ed5e4180211fd5752081d8f63d5e0c5

Authored by Jürgen Knödlseder
2 parents 7ac3f717 4d7dc233

Merge branch '1523-cshessobs-python3x' into devel

Showing 1 changed file with 2 additions and 2 deletions
cscripts/cshessobs.py
... ... @@ -237,9 +237,9 @@ class cshessobs(ctools.cscript):
237 237 # check if config is valid
238 238 path = self.datapath+"/"+chain+"/"+dst+"/"+config
239 239 if os.path.isdir(path) and len(glob.glob(path+"/run*")):
240   - if not newfolders.has_key(chain):
  240 + if not chain in newfolders:
241 241 newfolders[chain] = {}
242   - if not newfolders[chain].has_key(dst):
  242 + if not dst in newfolders[chain]:
243 243 newfolders[chain][dst] = []
244 244 newfolders[chain][dst].append(config)
245 245  
... ...