|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/lib64/python2.4/site-packages/sabayon/ |
Upload File : |
mò
»fEOc @ sû d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k
Z
d Z e i ƒ d „ Z
e e d „ Z d „ Z d e f d „ ƒ YZ d f d „ ƒ YZ e a d „ Z d
„ Z e d j o e i ƒ e ƒ n d S( Ns. <profiles>
<default profile=""/>
</profiles>c G s t i t i | | ƒ d S( N( t utilt debug_printt DEBUG_USERDBt fmtt args( R R ( ( t4 /usr/lib64/python2.4/site-packages/sabayon/userdb.pyt dprint( s c C s[ | i | ƒ } | oA y | | i ƒ SWqW t t d ƒ | | i ƒ f ƒ ‚ qW Xn | S( Ns! invalid type for setting %s in %s(
t nodet hasPropt settingt at
convert_tot contentt UserDatabaseExceptiont _t nodePatht default( R R R R R
( ( R t get_setting, s *c C s± d } d } xž | t | ƒ j oŠ | | } | d } | d j o[ | t | ƒ j oD | | } | d j o | | j o | | } qŒ n | d } qž n | | } q W| S( Nt i i t %( t rest it lent stringt ct attrs( R R R R R ( ( R t
expand_string5 s
R
c B s t Z RS( N( t __name__t
__module__( ( ( R R
F s t UserDatabasec B s‰ t Z d Z e d „ Z d „ Z d „ Z d „ Z d „ Z e d „ Z
e e d „ Z e d „ Z
d „ Z d
„ Z d „ Z d „ Z RS(
s An encapsulation of the database which maintains an
association between users and profiles.
This database is stored by default in
$(sysconfdir)/desktop-profiles/users.xml and contains a
list of users and the profile associated with each of
those users.
A profile can be reference by either its name (in which case
the profile is stored at /etc/desktop-profiles/$(name).zip),
an absolute path or a http/file URL.
c C s | d j o t i i t i d ƒ } n4 | d d j o t i i t i | ƒ } n | } | | _ d | _ t
d | i ƒ y, t i | d t i
ƒ | _ | i i ƒ Wn! t
d | i ƒ d | _ n X| i d j o+ t i t t t ƒ d d t i
ƒ | _ n d S( sá Create a UserDatabase object.
@db_file: an (optional) path which specifes the location
of the database file. If not specified, the default
location of /etc/desktop-profiles/users.xml is used.
s users.xmli t /s New UserDatabase(%s) object
s0 failed to parse %s falling back to default conf
N( t db_filet Nonet ost patht joint configt PROFILESDIRt filet selft modifiedR t libxml2t readFilet XML_PARSE_NOBLANKSt doct xincludeProcesst
readMemoryt defaultConfR ( R' R R&