3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 12:23:41 +01:00

Small syntax fix in inpconf.py

This commit is contained in:
Oleg Peil 2015-02-15 20:50:52 +01:00 committed by Michel Ferrero
parent 0816d45d59
commit 76d0b4a6bb

View File

@ -393,7 +393,7 @@ class ConfigParameters:
try: try:
ind, shell = find_shell_by_user_index(user_ind) ind, shell = find_shell_by_user_index(user_ind)
except KeyError: except KeyError:
raise Exception("Shell %i reference in group '%s' does not exist"%(user_ind, group['index']) raise Exception("Shell %i reference in group '%s' does not exist"%(user_ind, group['index']))
sh_inds.append(ind) sh_inds.append(ind)
# If [Shell] section contains (potentiall conflicting) group parameters # If [Shell] section contains (potentiall conflicting) group parameters