[Erp5-report] r15622 - /erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Aug 13 11:38:31 CEST 2007
Author: fabien
Date: Mon Aug 13 11:38:31 2007
New Revision: 15622
URL: http://svn.erp5.org?rev=15622&view=rev
Log:
remove the useless lines :
user = UnrestrictedUser('syncml', 'syncml', ['Manager', 'Member'], '')
Modified:
erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
Modified: erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/SynchronizationTool.py?rev=15622&r1=15621&r2=15622&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/SynchronizationTool.py (original)
+++ erp5/trunk/products/ERP5SyncML/SynchronizationTool.py Mon Aug 13 11:38:31 2007
@@ -977,10 +977,6 @@
"""
This will try to synchronize every subscription
"""
- # Login as a manager to make sure we can create objects
- uf = self.acl_users
- user = UnrestrictedUser('syncml', 'syncml', ['Manager', 'Member'], '')
- newSecurityManager(None, user)
message_list = self.portal_activities.getMessageList()
LOG('sync, message_list:', DEBUG, message_list)
if len(message_list) == 0:
@@ -996,14 +992,7 @@
"""
LOG('readResponse, text :', DEBUG, text)
#LOG('readResponse, hexdump(text) :', DEBUG, self.hexdump(text))
-
- # Login as a manager to make sure we can create objects
- uf = self.acl_users
- user = uf.getUserById('syncml').__of__(uf)
- user = UnrestrictedUser('syncml', 'syncml', ['Manager', 'Member'], '')
- newSecurityManager(None, user)
status_code = None
-
if text not in ('', None):
# XXX We will look everywhere for a publication/subsription with
# the id sync_id, this is not so good, but there is no way yet
More information about the Erp5-report
mailing list