Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
a9f73592
Commit
a9f73592
authored
Mar 18, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for PRINCIPIA_HIDE_TRACEBACKS and PRINCIPIA_REALM.
parent
541b872d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
lib/python/Main.py
lib/python/Main.py
+10
-1
No files found.
lib/python/Main.py
View file @
a9f73592
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
##############################################################################
##############################################################################
import
ni
,
sys
import
ni
,
sys
import
SimpleDB
,
Sync
,
TJar
,
SingleThreadedTransaction
import
SimpleDB
,
Sync
,
TJar
,
SingleThreadedTransaction
,
os
class
SyncDB
(
SimpleDB
.
Default
,
Sync
.
Synchronized
):
class
SyncDB
(
SimpleDB
.
Default
,
Sync
.
Synchronized
):
pass
pass
...
@@ -39,10 +39,19 @@ SingleThreadedTransaction.Transaction.commit=SessionBase.committer()
...
@@ -39,10 +39,19 @@ SingleThreadedTransaction.Transaction.commit=SessionBase.committer()
bobo_application
=
app
=
Bobobase
[
'Application'
]
bobo_application
=
app
=
Bobobase
[
'Application'
]
if
os
.
environ
.
has_key
(
'PRINCIPIA_HIDE_TRACEBACKS'
):
__bobo_hide_tracebacks__
=
os
.
environ
[
'PRINCIPIA_HIDE_TRACEBACKS'
]
if
os
.
environ
.
has_key
(
'PRINCIPIA_REALM'
):
__bobo_realm__
=
os
.
environ
[
'PRINCIPIA_REALM'
]
##############################################################################
##############################################################################
# Revision Log
# Revision Log
#
#
# $Log: Main.py,v $
# $Log: Main.py,v $
# Revision 1.15 1998/03/18 20:22:45 jim
# Added support for PRINCIPIA_HIDE_TRACEBACKS and PRINCIPIA_REALM.
#
# Revision 1.14 1997/11/19 20:04:23 brian
# Revision 1.14 1997/11/19 20:04:23 brian
# Hmm, removed create flag for TM - seems only to be an issue with old bobobases.
# Hmm, removed create flag for TM - seems only to be an issue with old bobobases.
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment