Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
added type checks to builtin object constructors and edit methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed May 16, 2000
1 parent aa2d949 commit 26a8922
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Version.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
##############################################################################
"""Version object"""

__version__='$Revision: 1.38 $'[11:-2]
__version__='$Revision: 1.39 $'[11:-2]

import Globals, time
from AccessControl.Role import RoleManager
Expand All @@ -100,7 +100,8 @@

def manage_addVersion(self, id, title, REQUEST=None):
""" """

id=str(id)
title=str(title)
self=self.this()
self._setObject(id, Version(id,title,REQUEST))
if REQUEST is not None:
Expand Down

0 comments on commit 26a8922

Please sign in to comment.