src/eric7/Preferences/ConfigurationDialog.py

branch
eric7
changeset 9430
aef6b11d4ecd
parent 9413
80c06d472826
child 9448
ea215f7afab3
equal deleted inserted replaced
9429:b2db3a67525c 9430:aef6b11d4ecd
1115 Private method to import a configuration page module. 1115 Private method to import a configuration page module.
1116 1116
1117 @param name name of the configuration page module (string) 1117 @param name name of the configuration page module (string)
1118 @return reference to the configuration page module 1118 @return reference to the configuration page module
1119 """ 1119 """
1120 modName = "Preferences.ConfigurationPages.{0}".format(name) 1120 modName = "eric7.Preferences.ConfigurationPages.{0}".format(name)
1121 try: 1121 try:
1122 mod = __import__(modName) 1122 mod = __import__(modName)
1123 components = modName.split(".") 1123 components = modName.split(".")
1124 for comp in components[1:]: 1124 for comp in components[1:]:
1125 mod = getattr(mod, comp) 1125 mod = getattr(mod, comp)

eric ide

mercurial