#NEWLINE# def load( self ) : #NEWLINE# #INDENT# if self . loaded_settings . get ( 'enterprise' ) : #NEWLINE# #INDENT# GISTS_URL = loaded_settings . get ( 'url' ) #NEWLINE# if ( not GISTS_URL ) : #NEWLINE# #INDENT# raise MissingCredentialsException ( ) #NEWLINE# #UNINDENT# GISTS_URL += '/api/v3/gists' #NEWLINE# #UNINDENT# if loaded_settings . get ( 'max_gists' ) : #NEWLINE# #INDENT# if ( loaded_settings . get ( 'max_gists' ) <= 100 ) : #NEWLINE# #INDENT# MAX_GISTS = ( '?per_page=%d' % loaded_settings . get ( 'max_gists' ) ) #NEWLINE# GISTS_URL += MAX_GISTS #NEWLINE# USER_GISTS_URL += MAX_GISTS #NEWLINE# STARRED_GISTS_URL += MAX_GISTS #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# loaded_settings . set ( 'max_gists' , 100 ) #NEWLINE# sublime . status_message ( 'Gist: GitHub API does not support a value of higher than 100' )