Commit b5bc623f authored by Jim Fulton's avatar Jim Fulton

Removed redundant and sometimes harmful code for creating the gadfly

database area. This is thanks to a request from.  Gregor Hoffleit
<flight@hoffleit.de>.
parent 64219447
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__='''Generic Database Adapter Package Registration __doc__='''Generic Database Adapter Package Registration
$Id: __init__.py,v 1.10 1999/04/29 19:21:32 jim Exp $''' $Id: __init__.py,v 1.11 2000/04/11 16:37:34 jim Exp $'''
__version__='$Revision: 1.10 $'[11:-2] __version__='$Revision: 1.11 $'[11:-2]
import Globals, os import Globals, os
...@@ -149,8 +149,8 @@ __ac_permissions__=( ...@@ -149,8 +149,8 @@ __ac_permissions__=(
'manage_addZGadflyConnection')), 'manage_addZGadflyConnection')),
) )
j=os.path.join # j=os.path.join
d=j(j(INSTANCE_HOME,'var'),'gadfly') # d=j(j(INSTANCE_HOME,'var'),'gadfly')
if not os.path.exists(d): # if not os.path.exists(d):
os.mkdir(d) # os.mkdir(d)
os.mkdir(j(d,'demo')) # os.mkdir(j(d,'demo'))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment