New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zodbupdate entry point for PythonScript objects #19

Merged
merged 2 commits into from Oct 2, 2018
Jump to file or symbol
Failed to load files and symbols.
+11 −1
Diff settings

Always

Just for now

Copy path View file
@@ -7,10 +7,11 @@ parts =
test
tox
extensions = mr.developer
auto-checkout = Zope
auto-checkout = Zope RestrictedPython
[sources]
Zope = git git://github.com/zopefoundation/Zope
RestrictedPython = git git://github.com/zopefoundation/RestrictedPython
[interpreter]
recipe = zc.recipe.egg
Copy path View file
@@ -54,4 +54,9 @@
],
include_package_data=True,
zip_safe=False,
entry_points={
'zodbupdate.decode': [
'decodes = Products.PythonScripts:zodbupdate_decode_dict',
],
},
)
@@ -25,6 +25,10 @@
__roles__ = None
__allow_access_to_unprotected_subobjects__ = 1
zodbupdate_decode_dict = {
'Products.PythonScripts.PythonScript PythonScript Python_magic': 'binary',
'Products.PythonScripts.PythonScript PythonScript _code': 'binary',
}
def initialize(context):
context.registerClass(
ProTip! Use n and p to navigate between commits in a pull request.