How to create with Python API a new Perforce user? -


i'm writing test python script returns list of submitters.

the following:

    new_user = self.p4.fetch_user('existing-user')     new_user['user'] = 'new-user'     self.p4.save_user(new_user) 

emits:

p4exception: [p4#run] errors during command execution( "p4 user -i" )  [error]: "error in user specification.\nuser name can't changed 'existing-user'." 

what's python api call create new user?

new users created automatically with:

self.p4 = p4python.p4.p4(user='new-user') 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -