Commit 91c9fe2e authored by Rafael Monnerat's avatar Rafael Monnerat

No need use variable here

parent 64ba0f2d
...@@ -259,8 +259,7 @@ class ERP5Updater(object): ...@@ -259,8 +259,7 @@ class ERP5Updater(object):
def updateERP5Site(self): def updateERP5Site(self):
if not self.isERP5Present(): if not self.isERP5Present():
url = '/manage_addProduct/ERP5/manage_addERP5Site' self.POST('/manage_addProduct/ERP5/manage_addERP5Site', {
self.POST(url, {
"id": self.site_id, "id": self.site_id,
"erp5_catalog_storage": self.erp5_catalog_storage, "erp5_catalog_storage": self.erp5_catalog_storage,
"erp5_sql_connection_string": self.mysql_url, "erp5_sql_connection_string": self.mysql_url,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment