#NEWLINE# def require_auth( f ) : #NEWLINE# #INDENT# def wrapper( * args , **kwargs ) : #NEWLINE# #INDENT# if ( settings . access_token is None ) : #NEWLINE# #INDENT# print ( 'this command requires you to be authenticated' ) #NEWLINE# sys . exit ( 1 ) #NEWLINE# #UNINDENT# return f ( * args , ** kwargs ) #NEWLINE# #UNINDENT# return wrapper