EduploneWebdidactics/Extensions Install.py,1.7,1.8
Jens Klein <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneWebdidactics/Extensions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19668/Extensions
Modified Files:
Install.py
Log Message:
fixed qi-reinstall bug
Index: Install.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/Extensions/Install.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Install.py 2 Nov 2004 22:13:03 -0000 1.7
--- Install.py 2 Nov 2004 22:31:56 -0000 1.8
***************
*** 50,55 ****
vocab = atvm[vocabname]
for (ikey, value) in eduplone_vocabularies[vkey]:
! vocab.invokeFactory('SimpleVocabularyItem', ikey)
! vocab[ikey].setTitle(value)
--- 50,56 ----
vocab = atvm[vocabname]
for (ikey, value) in eduplone_vocabularies[vkey]:
! if not hasattr(vocab, ikey):
! vocab.invokeFactory('SimpleVocabularyItem', ikey)
! vocab[ikey].setTitle(value)
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click