[Erp5-report] r17029 - /erp5/trunk/products/ERP5SyncML/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 17 15:45:42 CEST 2007
Author: fabien
Date: Wed Oct 17 15:45:42 2007
New Revision: 17029
URL: http://svn.erp5.org?rev=17029&view=rev
Log:
correct some undefined name thanks to pyflakes
Modified:
erp5/trunk/products/ERP5SyncML/ERP5SyncMLMobileServer.py
erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
erp5/trunk/products/ERP5SyncML/__init__.py
Modified: erp5/trunk/products/ERP5SyncML/ERP5SyncMLMobileServer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/ERP5SyncMLMobileServer.py?rev=17029&r1=17028&r2=17029&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/ERP5SyncMLMobileServer.py (original)
+++ erp5/trunk/products/ERP5SyncML/ERP5SyncMLMobileServer.py Wed Oct 17 15:45:42 2007
@@ -11,7 +11,6 @@
try:
from Ft.Xml.Domlette import Print, PrettyPrint
except ImportError:
- LOG('ERP5Conduit',0,"Can't import Print and PrettyPrint")
class Print:
def __init__(self, *args, **kw):
raise ImportError, "Sorry, it was not possible to import Ft library"
@@ -183,7 +182,7 @@
try:
result = urllib2.urlopen(request).read()
except socket.error, msg:
- print 'error, url:%s ,data : %s'%(url, data)
+ print 'error, url:%s ,data : %s'%(to_url, data)
except urllib2.URLError, msg:
print "sendResponse, can't open url : %s" % to_url
Modified: erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/SynchronizationTool.py?rev=17029&r1=17028&r2=17029&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/SynchronizationTool.py (original)
+++ erp5/trunk/products/ERP5SyncML/SynchronizationTool.py Wed Oct 17 15:45:42 2007
@@ -947,7 +947,7 @@
domain_path=domain.getPath(),
content_type=content_type)
LOG('sendHttpResponse, socket ERROR:', INFO, msg)
- LOG('sendHttpResponse, url, data', INFO, (url, data))
+ LOG('sendHttpResponse, url, data', INFO, (to_url, data))
return
except urllib2.URLError, msg:
LOG("sendHttpResponse, can't open url %s :" % to_url, INFO, msg)
Modified: erp5/trunk/products/ERP5SyncML/__init__.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/__init__.py?rev=17029&r1=17028&r2=17029&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/__init__.py (original)
+++ erp5/trunk/products/ERP5SyncML/__init__.py Wed Oct 17 15:45:42 2007
@@ -37,7 +37,7 @@
document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions)
# Define object classes and tools
-import SynchronizationTool
+import SynchronizationTool, Publication, Subscription
object_classes = (Subscription.Subscription, Publication.Publication,Publication.Subscriber)
portal_tools = (SynchronizationTool.SynchronizationTool,)
content_classes = ()
More information about the Erp5-report
mailing list