def dump_theming_info():
 for (namespace, lookup) in edxmako.LOOKUP.items():
  print ('--- %s: %s' % (namespace, lookup.template_args['module_directory']))
  for directory in lookup.directories:
   print ('  %s' % (directory,))
 print ('=' * 80)
 for (dirname, __, filenames) in os.walk(settings.MAKO_MODULE_DIR):
  print ('%s ----------------' % (dir,))
  for filename in sorted(filenames):
   if filename.endswith('.pyc'):
    continue
   with open(os.path.join(dirname, filename)) as f:
    content = len(f.read())
   print ('    %s: %d' % (filename, content))

def dump_theming_info ( ) : for ( namespace , lookup ) in edxmako . LOOKUP . items ( ) : print ( '--- %s: %s' % ( namespace , lookup . template_args [ 'module_directory' ] ) ) for directory in lookup . directories : print ( '  %s' % ( directory , ) ) print ( '=' * 80 ) for ( dirname , __ , filenames ) in os . walk ( settings . MAKO_MODULE_DIR ) : print ( '%s ----------------' % ( dir , ) ) for filename in sorted ( filenames ) : if filename . endswith ( '.pyc' ) : continue with open ( os . path . join ( dirname , filename ) ) as f : content = len ( f . read ( ) ) print ( '    %s: %d' % ( filename , content ) )
dump a bunch of theming information .