[Commits] (pavlov) fixing typo (bug 1918)

commits at osafoundation.org commits at osafoundation.org
Tue Sep 14 12:52:10 PDT 2004


Commit by: pavlov
Modified files:
chandler/parcels/osaf/framework/webdav/Sync.py 1.27 1.28

Log message:
fixing typo (bug 1918)


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/webdav/Sync.py.diff?r1=text&tr1=1.27&r2=text&tr2=1.28

Index: chandler/parcels/osaf/framework/webdav/Sync.py
diff -u chandler/parcels/osaf/framework/webdav/Sync.py:1.27 chandler/parcels/osaf/framework/webdav/Sync.py:1.28
--- chandler/parcels/osaf/framework/webdav/Sync.py:1.27	Mon Sep 13 15:22:06 2004
+++ chandler/parcels/osaf/framework/webdav/Sync.py	Tue Sep 14 12:52:09 2004
@@ -264,8 +264,9 @@
                 mergeList(item, name, nodes, True)
                 continue
             elif attr.cardinality == 'single':
+                node = nodes[0]
                 try:
-                    otherItem = Dav.DAV(nodes[0].content).get()
+                    otherItem = Dav.DAV(node.content).get()
                     item.setAttributeValue(name, otherItem)
                 except Dav.NotFound:
                     log.warning('Cant access %s' % (node.content))



More information about the Commits mailing list