#NEWLINE# def upload_package( self , package_ref , index = 1 , total = 1 ) : #NEWLINE# #INDENT# 'Uploads the package identified by package_id' #NEWLINE# msg = ( 'Uploading package %d/%d: %s' % ( index , total , str ( package_ref . package_id ) ) ) #NEWLINE# self . _user_io . out . info ( msg ) #NEWLINE# self . _remote_proxy . upload_package ( package_ref )