/usr/lib/python2.7/dist-packages/schooltool/requirement/__init__.py is in python-schooltool.gradebook 2.6.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from zope.i18nmessageid import MessageFactory
import schooltool.common
RequirementMessage = MessageFactory("schooltool.gradebook")
def makeDecimalARock():
# XXX this is insecure
from decimal import Decimal
from zope.security.checker import NoProxy
import zope.security
zope.security.checker.BasicTypes[Decimal] = NoProxy
makeDecimalARock()
del makeDecimalARock
schooltool.common.register_lauchpad_project(__package__, 'schooltool.gradebook')
|