#NEWLINE# def selected_period( self ) : #NEWLINE# #INDENT# today = datetime . date . today ( ) #NEWLINE# month = today . month #NEWLINE# year = today . year #NEWLINE# period = self . get_value ( self . request , self . domain ) #NEWLINE# if ( period is not None ) : #NEWLINE# #INDENT# month = period [ 0 ] . month #NEWLINE# year = period [ 0 ] . year #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# 'month' : month , #NEWLINE# 'year' : year , #NEWLINE# #UNINDENT# }