Commits

Sam Hart committed 83de989

not in working state but need to get going

  • Participants
  • Parent commits 3691956

Comments (0)

Files changed (1)

File flintlib/templateserv.py

 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from flintlib import *
+from flintlib.template import *
 
 class TemplateServices(object):
     '''
         self._cwd = cwd
         self._force = force
         self._config = config
+        self._key_systemwide = 'systemwide'
+        self._templates = {}
+        self._queue_systemwide_templates()
+
+    def _queue_systemwide_templates(self):
+        '''
+        Find the system-wide templates
+        '''
+        if not self._templates.has_key(self._key_systemwide):
+            self._templates.