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