Last change
on this file since 8703 was
5703,
checked in by hectorgh, 4 years ago
|
cleaning code + fixing gettext when initializing lliurexstoremanager
|
File size:
294 bytes
|
Line | |
---|
1 | import json |
---|
2 | import Core |
---|
3 | |
---|
4 | |
---|
5 | class CategoriesManager: |
---|
6 | |
---|
7 | def __init__(self): |
---|
8 | |
---|
9 | self.core=Core.Core.get_core() |
---|
10 | |
---|
11 | self.categories={} |
---|
12 | |
---|
13 | f=open(self.core.rsrc_dir+"sections.json") |
---|
14 | self.categories=json.load(f) |
---|
15 | f.close() |
---|
16 | |
---|
17 | self.banned_categories=["Qt","GNOME","GTK","KDE"] |
---|
18 | |
---|
19 | #def init |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.