|
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 : /usr/lib64/python2.4/site-packages/sepolgen/ |
Upload File : |
mò
d&KRc @ s“ d 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
d f d „ ƒ YZ d „ Z d f d „ ƒ YZ
d S( sU
Utilities for dealing with the compilation of modules and creation
of module tress.
Nc C s5 t i d | ƒ } t | ƒ d j o t Sn t Sd S( s' Check that a module name is valid.
s [^a-zA-Z0-9]i N( t ret findallt modnamet mt lent Truet False( R R ( ( t5 /usr/lib64/python2.4/site-packages/sepolgen/module.pyt
is_valid_name% s
t
ModuleTreec B sS t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z
RS( Nc C s | | _ d | _ d S( N( R t selft Nonet dirname( R
R ( ( R t __init__/ s c C s | i S( N( R
R ( R
( ( R t dir_name3 s c C s | i d | i d S( Nt /s .te( R
R R ( R
( ( R t te_name6 s c C s | i d | i d S( NR s .fc( R
R R ( R
( ( R t fc_name9 s c C s | i d | i d S( NR s .if( R
R R ( R
( ( R t if_name<