433 """ |
433 """ |
434 if self.__object is not None: |
434 if self.__object is not None: |
435 return list(self.__menus.keys()) |
435 return list(self.__menus.keys()) |
436 else: |
436 else: |
437 return [] |
437 return [] |
|
438 |
|
439 |
|
440 def installDependencies(pipInstall): |
|
441 """ |
|
442 Function to install dependencies of this plug-in. |
|
443 |
|
444 @param pipInstall function to be called with a list of package names. |
|
445 @type function |
|
446 """ |
|
447 try: |
|
448 import cookiecutter # __IGNORE_WARNING__ |
|
449 except ImportError: |
|
450 pipInstall(["cookiecutter"]) |