ó
•w(Nc           @   sr   d  d l  Z  d Z d Z d e e f Z d Z e Z d Z d  d l m Z d „  Z	 d	 e  j
 k rn e	 e _	 n  d S(
   iÿÿÿÿNs   -0ubuntu1.11.10.0s	   11.07.1.1s   %s%ss   3.2s   3.3(   t   utilc         C   s5   d d l  } d d l m } | | j |  ƒ j | ƒ S(   s  Initializes the group access list.

    It replaces the default implementation of Twisted which iterates other all
    groups, using the system call C{initgroups} instead. This wrapper just
    translates the numeric C{uid} to a user name understood by C{initgroups}.
    iÿÿÿÿN(   t
   initgroups(   t   pwdt   landscape.lib.initgroupsR   t   getpwuidt   pw_name(   t   uidt   gidR   t   cinitgroups(    (    s6   /usr/lib/python2.7/dist-packages/landscape/__init__.pyR   (   s    s   twisted.python._initgroups(   t   syst   DEBIAN_REVISIONt   UPSTREAM_VERSIONt   VERSIONt
   SERVER_APIt   APIt
   CLIENT_APIt   twisted.pythonR    R   t   modules(    (    (    s6   /usr/lib/python2.7/dist-packages/landscape/__init__.pyt   <module>   s   	