File: __init__.py

package info (click to toggle)
linux-show-player 0.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,896 kB
  • sloc: python: 12,408; sh: 154; makefile: 17; xml: 8
file content (15 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from lisp.layouts.cart_layout.layout import CartLayout
from lisp.layouts.list_layout.layout import ListLayout


__LAYOUTS__ = [CartLayout, ListLayout]


def get_layouts():
    return __LAYOUTS__


def get_layout(name):
    for layout in __LAYOUTS__:
        if layout.NAME == name:
            return layout