diff options
author | Mike's Primary Account <mcfletch@caramon.fletchers> | 2007-04-21 01:09:51 (GMT) |
---|---|---|
committer | Mike's Primary Account <mcfletch@caramon.fletchers> | 2007-04-21 01:09:51 (GMT) |
commit | a0348a565c09e434514b34b05f3866c97f0aee49 (patch) | |
tree | 08ead0e9b725bc0042db50956acc038ffdf512ba /services/presence/psutils.py | |
parent | 83a6a2e73e9f543a0d7a3ac58a4f04b661ca809e (diff) |
Initial documentation for psutils and server_plugin
Diffstat (limited to 'services/presence/psutils.py')
-rw-r--r-- | services/presence/psutils.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/services/presence/psutils.py b/services/presence/psutils.py index 995ea3a..76583d6 100644 --- a/services/presence/psutils.py +++ b/services/presence/psutils.py @@ -16,7 +16,11 @@ def bytes_to_string(bytes): - # Handle both DBus byte arrays and strings + """The function converts a D-BUS byte array provided by dbus to string format. + + bytes -- a D-Bus array of bytes. Handle both DBus byte arrays and strings + + """ try: # DBus Byte array ret = ''.join([chr(item) for item in bytes]) |