#NEWLINE# def getrevision( pth ) : #NEWLINE# #INDENT# 'Get SVN revision.' #NEWLINE# output = info ( pth ) #NEWLINE# search_targets = [ 'revision' ] #NEWLINE# keys = searchinfo ( output , * search_targets ) #NEWLINE# return keys . get ( search_targets [ 0 ] )