Package Products :: Package DataCollector :: Module CommandPluginUtils |
[hide private]
[frames] | no frames]

# Module CommandPluginUtils

source code
Utility functions for command plugins.

Functions | [hide private]
formatDate(timeTuple) Formats timeTuple to YYYY/MM/DD HH:MM:SS. | source code
createSoftwareDict(prodKey, vendor, description, installDate) Create a software dictionary that can be passed as the data parameter when constructing an ObjectMap that represents a Software entity. | source code
createSoftwareRelationshipMap(softwareDicts) Takes a list of software dictionaries and returns a RelationshipMap that represents that software collection. | source code

Function Details | [hide private]

### formatDate(timeTuple) | source code
Formats timeTuple to YYYY/MM/DD HH:MM:SS.
    >>> formatDate((2008, 12, 16, 13, 56, 29, 1, 351, -1))
    '2008/12/16 13:56:29'