[Commits] (bkirsch) Added final sharing logic

commits at osafoundation.org commits at osafoundation.org
Wed Aug 25 15:34:43 PDT 2004


Commit by: bkirsch
Modified files:
chandler/parcels/osaf/mail/imap.py 1.15 1.16
chandler/parcels/osaf/mail/sharing.py 1.5 1.6

Log message:
Added final sharing logic

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/mail/imap.py.diff?r1=text&tr1=1.15&r2=text&tr2=1.16
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/mail/sharing.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6

Index: chandler/parcels/osaf/mail/imap.py
diff -u chandler/parcels/osaf/mail/imap.py:1.15 chandler/parcels/osaf/mail/imap.py:1.16
--- chandler/parcels/osaf/mail/imap.py:1.15	Wed Aug 25 12:45:31 2004
+++ chandler/parcels/osaf/mail/imap.py	Wed Aug 25 15:34:42 2004
@@ -1,5 +1,5 @@
-__revision__  = "$Revision: 1.15 $"
-__date__      = "$Date: 2004/08/25 19:45:31 $"
+__revision__  = "$Revision: 1.16 $"
+__date__      = "$Date: 2004/08/25 22:34:42 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -383,7 +383,7 @@
         if __debug__:
             self.printCurrentView("_processSharingRequests")
 
-       #sharing.receivedInvitation(urls)
+        sharing.receivedInvitation(urls)
 
     def __getLastUID(self):
         return self.account.messageDownloadSequence

Index: chandler/parcels/osaf/mail/sharing.py
diff -u chandler/parcels/osaf/mail/sharing.py:1.5 chandler/parcels/osaf/mail/sharing.py:1.6
--- chandler/parcels/osaf/mail/sharing.py:1.5	Wed Aug 25 12:45:31 2004
+++ chandler/parcels/osaf/mail/sharing.py	Wed Aug 25 15:34:42 2004
@@ -35,13 +35,13 @@
 
     if isinstance(url, list):
        for u in url:
-          if not isinstance(u, str):
-             raise SharingException("URL List contains a value that is not a String")
+           if not isinstance(u, str):
+               raise SharingException("URL List contains a value that is not a String")
 
-             chandlerSharing.announceSharingUrl(u)
+           chandlerSharing.Sharing.announceSharingUrl(u)
 
     elif isinstance(url, str):
-        chandlerSharing.announceSharingUrl(url)
+        chandlerSharing.Sharing.announceSharingUrl(url)
 
     else:
         raise SharingException("URL must be a list of Strings or a String")



More information about the Commits mailing list