Commit adc42804 authored by Łukasz Nowak's avatar Łukasz Nowak

- do not enable nor set any preference during instance creation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33804 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4aa3d3b2
Changelog Changelog
========= =========
0.3 (2010-03-17)
----------------
- do not enable not set any preferences
[luke]
0.2 (2010-03-10) 0.2 (2010-03-10)
---------------- ----------------
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
name = "erp5.recipe.standaloneinstance" name = "erp5.recipe.standaloneinstance"
version = '0.2' version = '0.3'
def read(name): def read(name):
return open(name).read() return open(name).read()
......
...@@ -80,15 +80,6 @@ if portal is None: ...@@ -80,15 +80,6 @@ if portal is None:
transaction.commit() transaction.commit()
portal = app._getOb(options.portal_id) portal = app._getOb(options.portal_id)
# set preference for erp5_subversion
from App.config import getConfiguration
default_site_preference = portal.portal_preferences.default_site_preference
instance_home = getConfiguration().instancehome
default_site_preference.edit(
preferred_subversion_working_copy_list=['%s/bt5/' % instance_home])
if default_site_preference.getPreferenceState() == 'disabled':
default_site_preference.enable()
# install our business templates # install our business templates
bt5_list = [] bt5_list = []
bt5_path_list = [] bt5_path_list = []
......
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