Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P4864
(An Untitled Masterwork)
Active
Public
Actions
Authored by
bd808
on Feb 1 2017, 9:16 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F5445387:
Feb 1 2017, 9:16 PM
2017-02-01 21:16:43 (UTC+0)
Subscribers
None
tools.precise-tools@tools-bastion-02:~/www/python/src$ ../venv/bin/python
Python 2.7.9 (default, Jun 29 2016, 13:08:31)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import precise_tools
>>> dir(precise_tools)
['ACCOUNTING_FIELDS', 'CACHE', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'collections', 'datetime', 'get_view_data', 'httplib', 'is_precise_host', 'json', 'ldap3', 'normalize_toolname', 'tools_from_accounting', 'tools_from_grid', 'tools_members', 'utils']
>>> precise_tools.tools_members(['bd808-test'])
[u'uid=bd808,ou=people,dc=wikimedia,dc=org']
[]
{'bd808-test': set([])}
>>>
Event Timeline
bd808
created this paste.
Feb 1 2017, 9:16 PM
2017-02-01 21:16:43 (UTC+0)
Log In to Comment