EduploneExam .cvsignore,1.1,1.2 ExamFolder.py,1.8,1.9 __init__.py,1.1,1.2 registry.py,1.5,1.6 version.txt,1.4,1.5

Jens Klein <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11084

Modified Files:
	.cvsignore ExamFolder.py __init__.py registry.py version.txt 
Log Message:
refactored arround


Index: .cvsignore
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** .cvsignore	14 Dec 2004 09:27:25 -0000	1.1
--- .cvsignore	14 Dec 2004 16:50:30 -0000	1.2
***************
*** 1 ****
--- 1,2 ----
  *.pyc
+ 

Index: registry.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/registry.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** registry.py	14 Dec 2004 14:50:47 -0000	1.5
--- registry.py	14 Dec 2004 16:50:30 -0000	1.6
***************
*** 47,51 ****
      """ register a IExamAnswer implementing class """
      if not IExamAnswer.isImplementedByInstancesOf(klass):
!         raise NotImplementedError('The class %s does not implement interface IExamQuestion' % klass.__name__)
      if not klass.__name__ in _answer_types.keys():
          _answer_types[klass.__name__]=klass
--- 47,51 ----
      """ register a IExamAnswer implementing class """
      if not IExamAnswer.isImplementedByInstancesOf(klass):
!         raise NotImplementedError('The class %s does not implement interface IExamAnswer' % klass.__name__)
      if not klass.__name__ in _answer_types.keys():
          _answer_types[klass.__name__]=klass

Index: version.txt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/version.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** version.txt	14 Dec 2004 15:06:25 -0000	1.4
--- version.txt	14 Dec 2004 16:50:30 -0000	1.5
***************
*** 1 ****
! 0.1 build 6
--- 1 ----
! 1.0-alpha build 15

Index: __init__.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** __init__.py	14 Dec 2004 09:47:47 -0000	1.1
--- __init__.py	14 Dec 2004 16:50:30 -0000	1.2
***************
*** 27,33 ****
  def initialize(context):
      ##Import Types here to register them
-     import answers
      import interfaces
      import questions
  
      import ExamFolder
--- 27,33 ----
  def initialize(context):
      ##Import Types here to register them
      import interfaces
      import questions
+     import answers
  
      import ExamFolder

Index: ExamFolder.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/ExamFolder.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ExamFolder.py	14 Dec 2004 15:12:39 -0000	1.8
--- ExamFolder.py	14 Dec 2004 16:50:30 -0000	1.9
***************
*** 8,16 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 16:03:56 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! #
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
--- 8,16 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 17:38:52 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! # 
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
***************
*** 40,46 ****
  class ExamFolder(OrderedBaseFolder):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'ExamFolder'
!     archetype_name = 'ExamFolder'   #this name appears in the 'add' box
!     allowed_content_types = []
  
      __implements__ = getattr(OrderedBaseFolder,'__implements__',())
--- 40,46 ----
  class ExamFolder(OrderedBaseFolder):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'ExamFolder' 
!     archetype_name = 'ExamFolder'   #this name appears in the 'add' box 
!     allowed_content_types = [] 
  
      __implements__ = getattr(OrderedBaseFolder,'__implements__',())
***************
*** 58,62 ****
              ),
          ),
! 
          StringField('title',
              accessor='''Title''',
--- 58,62 ----
              ),
          ),
!         
          StringField('title',
              accessor='''Title''',
***************
*** 69,73 ****
              ),
          ),
! 
      ),
      )
--- 69,73 ----
              ),
          ),
!         
      ),
      )
***************
*** 116,125 ****
          }
  
! 
      actions=  (
! 
  
            )
! 
  
  registerType(ExamFolder)
--- 116,125 ----
          }
  
!         
      actions=  (
!         
  
            )
!         
  
  registerType(ExamFolder)
***************
*** 128,129 ****
--- 128,131 ----
  ##code-section module-footer #fill in your manual code here
  ##/code-section module-footer
+ 
+ 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.