def mountvolume(volume, server=None, username=None, password=None):
 finder = _getfinder()
 args = {}
 attrs = {}
 if password:
  args['PASS'] = password
 if username:
  args['USER'] = username
 if server:
  args['SRVR'] = server
 args['----'] = volume
 (_reply, args, attrs) = finder.send('aevt', 'mvol', args, attrs)
 if ('errn' in args):
  raise Error, aetools.decodeerror(args)
 if ('----' in args):
  return args['----']

def mountvolume ( volume , server = None , username = None , password = None ) : finder = _getfinder ( ) args = { } attrs = { } if password : args [ 'PASS' ] = password if username : args [ 'USER' ] = username if server : args [ 'SRVR' ] = server args [ '----' ] = volume ( _reply , args , attrs ) = finder . send ( 'aevt' , 'mvol' , args , attrs ) if ( 'errn' in args ) : raise Error , aetools . decodeerror ( args ) if ( '----' in args ) : return args [ '----' ]
mount a volume .