X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=src%2Fkoehsel.policy%2Fkoehsel%2Fpolicy%2Fsetuphandlers.py;fp=src%2Fkoehsel.policy%2Fkoehsel%2Fpolicy%2Fsetuphandlers.py;h=51407890b0e4475ff9293a6b6374ed3a5b44874b;hb=f53789c630416150b13df1204b0bb94334d7a0b0;hp=0000000000000000000000000000000000000000;hpb=1a0004561fa9573b96b77a46c41db9c0d80b52c6;p=zope-bootstrap.git diff --git a/src/koehsel.policy/koehsel/policy/setuphandlers.py b/src/koehsel.policy/koehsel/policy/setuphandlers.py new file mode 100644 index 0000000..5140789 --- /dev/null +++ b/src/koehsel.policy/koehsel/policy/setuphandlers.py @@ -0,0 +1,11 @@ +def setupVarious(context): + + # Ordinarily, GenericSetup handlers check for the existence of XML files. + # Here, we are not parsing an XML file, but we use this text file as a + # flag to check that we actually meant for this import step to be run. + # The file is found in profiles/default. + + if context.readDataFile('koehsel.theme_various.txt') is None: + return + + # Add additional setup code here