Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.toolbox
Commits
2ebfd389
Commit
2ebfd389
authored
Mar 27, 2018
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promise check_user_memory: fix 'attempt to write a readonly database'
parent
d1426e56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/promise/check_user_memory/__init__.py
slapos/promise/check_user_memory/__init__.py
+1
-1
No files found.
slapos/promise/check_user_memory/__init__.py
View file @
2ebfd389
...
...
@@ -30,7 +30,7 @@ def getMemoryInfo(database_path, moment, user):
time_from_str
=
"00:00:00"
escaped_user
=
escapeSqlStringValue
(
user
)
memory_info
=
{}
database
=
Database
(
database_path
)
database
=
Database
(
database_path
,
create
=
False
,
timeout
=
5
)
try
:
database
.
connect
()
result
=
list
(
database
.
select
(
...
...
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