/[gentoo]/src/packages/query_package.py
Gentoo

Diff of /src/packages/query_package.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
7import config 7import config
8import gentoo 8import gentoo
9import ebuilddb 9import ebuilddb
10from MySQLdb import escape_string 10from MySQLdb import escape_string
11 11
12sys.stdout.write('Content-type: text/html; charset=UTF-8\n\n') 12sys.stdout.write('Content-type: text/html; charset=iso-8859-1\n\n')
13 13
14def query_to_dict(q): 14def query_to_dict(q):
15 pkginfo = {} 15 pkginfo = {}
16 keys = ('category','name','homepage','description','license') 16 keys = ('category','name','homepage','description','license')
17 for i in range(len(keys)): 17 for i in range(len(keys)):

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20