File: //lib/python2.7/site-packages/clcommon/cpapi/plugins/nopanel.pyc
�
b=0Yc           @   sW   d  d l  m Z d  d l m Z e Z d �  Z d �  Z d e d � Z	 d d � Z
 d S(   i����(   t   NotSupported(   t   UNKNOWN_CP_NAMEc           C   s   t  d � � d  S(   Ns?   Unable to receive data. Not supported with no the control panel(   R    (    (    (    sB   /usr/lib/python2.7/site-packages/clcommon/cpapi/plugins/nopanel.pyt	   db_access
   s    c           C   s   t  d � � d S(   s_   
    return all users list registered on Control Panel
    :return: tuple registered users
    sc   Getting all users registered in the control panel is not currently supported. Is under development.N(   R    (    (    (    sB   /usr/lib/python2.7/site-packages/clcommon/cpapi/plugins/nopanel.pyt   cpusers   s    c         C   s   t  d � � d  S(   Ns?   Unable to receive data. Not supported with no the control panel(   R    (   t   cplogin_lstt   with_system_users(    (    sB   /usr/lib/python2.7/site-packages/clcommon/cpapi/plugins/nopanel.pyt   dblogin_cplogin_pairs   s    c         C   s   d d l  m } | d |  � S(   ss   
    Gets admin email
    :param str|None _hostname: for testing
    :return: admin's email
    :rtype: string
    i����(   t   get_admin_emailt	   _hostname(   t    clcommon.cpapi.plugins.universalR   (   R   R   (    (    sB   /usr/lib/python2.7/site-packages/clcommon/cpapi/plugins/nopanel.pyR      s    N(   t   clcommon.cpapi.cpapiexceptionsR    t   clcommon.cpapi.constR   t
   __cpname__R   R   t   Nonet   FalseR   R   (    (    (    sB   /usr/lib/python2.7/site-packages/clcommon/cpapi/plugins/nopanel.pyt   <module>   s