~divmod-dev/divmod.org/dangling-1091

« back to all changes in this revision

Viewing changes to Mantissa/xmantissa/webtheme.py

  • Committer: glyph
  • Date: 2005-07-28 22:09:16 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:2
move this repository to a more official-looking URL

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
from xmantissa.ixmantissa import IWebTheme
 
3
from xmantissa import plugins
 
4
from twisted.plugin import getPlugins
 
5
 
 
6
def getAllThemes():
 
7
    l = list(getPlugins(IWebTheme, plugins))
 
8
    l.sort(key=lambda o: o.priority)
 
9
    l.reverse()
 
10
    print 'woop', l
 
11
    return l