Exemple #1
0
from tardis.LOGS.metamodelling import echo_module

from tardis import counting_t
echo_module(counting_t)
from tardis.counting_t import mod1
echo_module(mod1)
from tardis.counting_t.mod1 import mod11
echo_module(mod11)
from tardis.counting_t import mod2
echo_module(mod2)
from tardis.counting_t import A
echo_module(A)
from tardis.counting_t import B
echo_module(B)
from tardis.counting_t import Private_mod
echo_module(Private_mod)
Exemple #2
0
#import the right echo_module function
import inspect
frame = inspect.currentframe()
caller = frame.f_back.f_code.co_filename
caller= caller.rsplit('.', 1)[0]
caller = caller.split('/', 4)[4]
caller = caller.replace('/','.')
if caller == 'tardis.LOGS.metamodelling':
	from tardis.LOGS.metamodelling import echo_module
elif caller == 'tardis.DEF_CALL.metamodelling':
	from tardis.DEF_CALL.metamodelling import echo_module


# while echoing count statically  and update the  above lists
import manage
echo_module(manage) 
import search_sites 			
echo_module(search_sites)
import settings	
echo_module(settings)
import test_settings
echo_module(test_settings)
import urls
echo_module(urls) 			

import apps
echo_module(apps)
import apps.equipment
echo_module(apps.equipment)
import apps.equipment.admin
echo_module(apps.equipment.admin)