[Commits] (morgen) Make sure sharedURL is has a value

commits at osafoundation.org commits at osafoundation.org
Mon Aug 23 16:35:12 PDT 2004


Commit by: morgen
Modified files:
chandler/parcels/osaf/framework/sharing/Sharing.py 1.4 1.5

Log message:
Make sure sharedURL is has a value


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/sharing/Sharing.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5

Index: chandler/parcels/osaf/framework/sharing/Sharing.py
diff -u chandler/parcels/osaf/framework/sharing/Sharing.py:1.4 chandler/parcels/osaf/framework/sharing/Sharing.py:1.5
--- chandler/parcels/osaf/framework/sharing/Sharing.py:1.4	Mon Aug 23 16:27:41 2004
+++ chandler/parcels/osaf/framework/sharing/Sharing.py	Mon Aug 23 16:35:11 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.4 $"
-__date__ = "$Date: 2004/08/23 23:27:41 $"
+__version__ = "$Revision: 1.5 $"
+__date__ = "$Date: 2004/08/23 23:35:11 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -78,7 +78,7 @@
             sendInvites(addresses, url)
 
 def syncCollection(collection):
-    if collection.getAttributeValue('sharedURL', None):
+    if collection.hasAttributeValue('sharedURL'):
         print "Synchronizing", collection.sharedURL
         osaf.framework.webdav.Dav.DAV(collection.sharedURL).get()
     else:



More information about the Commits mailing list