#NEWLINE# def getTalentsReader( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return replayVersion . talentsReader #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# replayVersion = self . reader . getReplayProtocolVersion ( ) #NEWLINE# try : #NEWLINE# #INDENT# self . talentsReader = __import__ ( ( 'stormreplay.talents%s' % replayVersion ) , fromlist = [ 'talents' ] ) #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# raise Exception ( ( 'Unsupported StormReplay build number for talents: %i' % replayVersion ) ) #NEWLINE# #UNINDENT# #UNINDENT# return self . talentsReader