diff options
Diffstat (limited to 'fedoratheme/kindofblue/setuphandlers.py')
-rw-r--r-- | fedoratheme/kindofblue/setuphandlers.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fedoratheme/kindofblue/setuphandlers.py b/fedoratheme/kindofblue/setuphandlers.py new file mode 100644 index 0000000..2d11d1f --- /dev/null +++ b/fedoratheme/kindofblue/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('fedoratheme.kindofblue_various.txt') is None: + return + + # Add additional setup code here |