/[cvs]/nfo/projects/netfraggle/bin/FraggleCtlModules.py
ViewVC logotype

Annotation of /nfo/projects/netfraggle/bin/FraggleCtlModules.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Wed Sep 1 21:43:30 2004 UTC (20 years, 2 months ago) by xabbu
Branch: MAIN
File MIME type: text/x-python
+Moved funtion getDefaultDir from FraggleCtlPreferences to FraggleEngine for more convenience
+FraggleCtlModules class creation for handling content modules

1 xabbu 1.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 RSS 2.0 feed