Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
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
isaak yansane-sisk
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