def get_help_fs(app_name):
 app = appmanager.get_desktop_module(app_name)
 if (app is not None):
  if (app.help_dir is None):
   raise PopupException(("No help available for app '%s'." % app_name))
  return LocalSubFileSystem(app.help_dir)
 else:
  raise PopupException(("App '%s' is not loaded, so no help is available for it!" % app_name))

def get_help_fs ( app_name ) : app = appmanager . get_desktop_module ( app_name ) if ( app is not None ) : if ( app . help_dir is None ) : raise PopupException ( ( "No help available for app '%s'." % app_name ) ) return LocalSubFileSystem ( app . help_dir ) else : raise PopupException ( ( "App '%s' is not loaded, so no help is available for it!" % app_name ) )
creates a local file system for a given apps help directory .