Current Path : /usr/lib/python2.7/dist-packages/landscape/lib/ |
Current File : //usr/lib/python2.7/dist-packages/landscape/lib/bpickle_dbus.pyc |
ó ÍÿŠTc @ sS d Z d d l Z d d l m Z d „ Z d „ Z d „ Z d „ Z d „ Z d S( s Different versions of the Python DBus bindings return different types to represent integers, strings, lists, etc. Older versions return builtin Python types: C{int}, C{str}, C{list}, etc. Newer versions return DBus-specific wrappers: C{Int16}, C{String}, C{Array}, etc. Failures occur when DBus types are used because bpickle doesn't know that an C{Int16} is really an C{int} and that an C{Array} is really a C{list}. L{install} and L{uninstall} can install and remove extensions that make bpickle work with DBus types. iÿÿÿÿN( t bpicklec C s+ x$ t ƒ D] \ } } | t j | <q Wd S( s* Install bpickle extensions for DBus types.N( t get_dbus_typesR t dumps_table( t typet function( ( s>