diff options
author | Izhar Firdaus <kagesenshi.87@gmail.com> | 2008-12-10 03:10:09 +0800 |
---|---|---|
committer | Izhar Firdaus <kagesenshi.87@gmail.com> | 2008-12-10 03:10:09 +0800 |
commit | f195540bd68c6690bca43a0ba8011c5a5bccccd5 (patch) | |
tree | a9af9cd67ac1afcbcff7a47ae5acddb7faf28faa /fedoratheme/kindofblue/setuphandlers.py | |
download | fedoratheme.kindofblue-f195540bd68c6690bca43a0ba8011c5a5bccccd5.tar.gz fedoratheme.kindofblue-f195540bd68c6690bca43a0ba8011c5a5bccccd5.tar.xz fedoratheme.kindofblue-f195540bd68c6690bca43a0ba8011c5a5bccccd5.zip |
- initial import
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 |