[p4python] Question about groups command
Smith, Jeff
jsmith at medplus.com
Tue Sep 12 09:04:29 PDT 2006
OS: Windows XP SP2
Perforce server: 2005.1
Perforce client: 2006.1
Python: 2.4.2
P4Python: 0.6
when I try:
p4client.run('groups')
I get a list which contains every entry for every group rather than just
a list of groups.
For instance, it I have only one group called mygroup with 2 users in
it, then the p4python call returns a list of two items
{'group': 'mygroup', 'isSubGroup': '1', 'maxResults': '0', 'user':
'user1', 'timeout': '604800', 'maxScanRows': '0'}
{'group': 'mygroup', 'isSubGroup': '1', 'maxResults': '0', 'user':
'user2', 'timeout': '604800', 'maxScanRows': '0'}
Is this expected behavior?
Jeff Smith
Development Tools Group
DTG <http://trackerweb.dev.medplus.com/tmtrack/tmtrack.dll?> HelpDesk
DTG <http://yoda/medplus/Portal/Development/CMS/> Dashboard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20060912/7d0ae5b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: robot-small.jpg
Type: image/jpeg
Size: 2446 bytes
Desc: robot-small.jpg
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20060912/7d0ae5b2/attachment.jpg>
More information about the p4python
mailing list