File: config-dbs.py

package info (click to toggle)
serpento 0.3.6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 292 kB
  • ctags: 381
  • sloc: python: 1,644; ansic: 666; perl: 157; sh: 116; makefile: 72
file content (22 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

# FileDb has either one, 2, 3 or 4 arguments
# (name, data, inx, info)
# if data is missing, name+".dict" is used
# if inx is missing, name+".index" is used.
# if info is missing, name is used
# data and inx can be either full path, or
# just a filename, in which case /usr/share/dictd/
# is used.

dbases = [

# two standard databases: * and !
StarDb(),
BangDb(),

]
try:
    execfile("/var/lib/dictd/serpento.db.list")
except:
    pass