X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=src%2Fkoehsel.theme%2Fkoehsel%2Ftheme%2Fsetuphandlers.py;fp=src%2Fkoehsel.theme%2Fkoehsel%2Ftheme%2Fsetuphandlers.py;h=51407890b0e4475ff9293a6b6374ed3a5b44874b;hb=bdc26fbc59b17fe88607cb3d4acd257fef763710;hp=0000000000000000000000000000000000000000;hpb=aa5dcb3fd8b78f37a9ad92e8ea41aee59d7f7aa7;p=zope-bootstrap.git diff --git a/src/koehsel.theme/koehsel/theme/setuphandlers.py b/src/koehsel.theme/koehsel/theme/setuphandlers.py new file mode 100644 index 0000000..5140789 --- /dev/null +++ b/src/koehsel.theme/koehsel/theme/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