Parent Directory | Revision Log
+Moved funtion getDefaultDir from FraggleCtlPreferences to FraggleEngine for more convenience +FraggleCtlModules class creation for handling content modules
1 | import os |
2 | |
3 | import fraggleParserXML |
4 | from fraggleEngine import * |
5 | |
6 | |
7 | def create(parent): |
8 | return FraggleCtlModules(parent) |
9 | |
10 | class FraggleCtlModules: |
11 | |
12 | def __init__(self,parent): |
13 | self.ScanModules() |
14 | self.engine = parent |
15 | pass |
16 | |
17 | def ScanModules(self): |
18 | os.chdir('..') |
19 | self.dir = os.listdir(os.path.join(os.getcwd(),'modules')) |
20 | print self.dir |
21 | pass |
22 | |
23 |
MailToCvsAdmin">MailToCvsAdmin | ViewVC Help |
Powered by ViewVC 1.1.26 |