summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-10-31 13:53:36 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-10-31 13:53:36 +0100
commit01aada016704e28628ed4386968247c58988794b (patch)
tree576d2e86cf0767555ca11549f0e6f19ffd5139da
parent744579ee5923eb3ba75439e96c8393e4ac9592a9 (diff)
downloadpykolab-01aada016704e28628ed4386968247c58988794b.tar.gz
Skip .oracle.sql
-rw-r--r--pykolab/setup/setup_mysql.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pykolab/setup/setup_mysql.py b/pykolab/setup/setup_mysql.py
index fb1b102..2211876 100644
--- a/pykolab/setup/setup_mysql.py
+++ b/pykolab/setup/setup_mysql.py
@@ -127,6 +127,10 @@ password='%s'
for root, directories, filenames in os.walk('/usr/share/doc/'):
for filename in filenames:
if filename.startswith('kolab_wap') and filename.endswith('.sql'):
+ # Skip the Oracle file
+ if filename.endswith('oracle.sql'):
+ continue
+
schema_file = os.path.join(root,filename)
if not schema_file == None: