Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
5
Merge Requests
5
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
Jérome Perrin
slapos
Commits
49abfd30
Commit
49abfd30
authored
Oct 20, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow self.log API.
parent
09f69cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/recipe/erp5_update/erp5.py
slapos/recipe/erp5_update/erp5.py
+2
-2
No files found.
slapos/recipe/erp5_update/erp5.py
View file @
49abfd30
...
...
@@ -293,7 +293,7 @@ class ERP5Updater(object):
def
updateERP5Site
(
self
):
if
not
self
.
isERP5Present
():
self
.
log
(
'No site present, adding new with id %r'
%
self
.
site_id
)
self
.
log
(
'
INFO'
,
'
No site present, adding new with id %r'
%
self
.
site_id
)
self
.
POST
(
'/manage_addProduct/ERP5/manage_addERP5Site'
,
{
"id"
:
self
.
site_id
,
"erp5_catalog_storage"
:
self
.
erp5_catalog_storage
,
...
...
@@ -321,7 +321,7 @@ class ERP5Updater(object):
def
run
(
self
):
""" Keep running until kill"""
while
1
:
self
.
log
(
'Sleeping for %s'
%
self
.
short_sleeping_time
)
self
.
log
(
'
INFO'
,
'
Sleeping for %s'
%
self
.
short_sleeping_time
)
time
.
sleep
(
self
.
short_sleeping_time
)
if
not
self
.
updateERP5Site
():
self
.
loadSystemSignatureDict
()
...
...
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