Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodbare committed Nov 27, 2016
1 parent 945a035 commit cf93db6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/plone.server/plone/server/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ def make_app(config_file=None, settings=None):

db = DB(fs)
try:
root = db.open().root()
if not IDataBase.providedBy(root):
alsoProvides(root, IDataBase)
rootobj = db.open().root()
if not IDataBase.providedBy(rootobj):
alsoProvides(rootobj, IDataBase)
transaction.commit()
root = None
rootobj = None
except:
pass
finally:
Expand All @@ -328,11 +328,11 @@ def make_app(config_file=None, settings=None):
db = DB(cs)

try:
root = db.open().root()
if not IDataBase.providedBy(root):
alsoProvides(root, IDataBase)
rootobj = db.open().root()
if not IDataBase.providedBy(rootobj):
alsoProvides(rootobj, IDataBase)
transaction.commit()
root = None
rootobj = None
except:
pass
finally:
Expand Down

0 comments on commit cf93db6

Please sign in to comment.