eric6/Plugins/WizardPlugins/EricPluginWizard/Templates.py

changeset 7258
aff39db4dacc
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7257:c4d0cac9b5c9 7258:aff39db4dacc
245 @type str 245 @type str
246 @return list of API filenames 246 @return list of API filenames
247 @rtype list of str 247 @rtype list of str
248 """ 248 """
249 if language in ["Python3", "Python"]: 249 if language in ["Python3", "Python"]:
250 apisDir = \\ 250 apisDir = os.path.join(
251 os.path.join(os.path.dirname(__file__), "APIs", "Python") 251 os.path.dirname(__file__), "APIs", "Python")
252 apis = glob.glob(os.path.join(apisDir, '*.api')) 252 apis = glob.glob(os.path.join(apisDir, '*.api'))
253 apisDir = \\ 253 apisDir = os.path.join(
254 os.path.join(os.path.dirname(__file__), "APIs", "Python3") 254 os.path.dirname(__file__), "APIs", "Python3")
255 apis.extend(glob.glob(os.path.join(apisDir, '*.api'))) 255 apis.extend(glob.glob(os.path.join(apisDir, '*.api')))
256 else: 256 else:
257 apis = [] 257 apis = []
258 return apis 258 return apis
259 259
260 260
261 ''' 261 '''
262
263 #
264 # eflag: noqa = M841

eric ide

mercurial