Skip to content.

Etria Lists

 

[quills-dev] [Collective-checkins] r49551 - quills.remoteblogging/trunk/quills/remoteblogging/browser

Tim Hicks tim at sitefusion.co.uk
Wed Sep 19 08:58:32 UTC 2007


quills-dev at lists.etria.com wrote:
> Author: tomster
> Date: Tue Sep 18 21:43:16 2007
> New Revision: 49551
> 
> Modified:
>    quills.remoteblogging/trunk/quills/remoteblogging/browser/metaweblogapi.py
> Log:
> removed oooold hack (that i introduced myself at the time) that provided a workaround for a temporary implementation weirdness in Zope 2.9's xmlrpc lib. that workaround included a dependency on DateTime, now (with Zope 2.10) we can just pass the value from xmlrpc lib unchanged and thus avoid any explicit dependency on DateTime.
> 
> Modified: quills.remoteblogging/trunk/quills/remoteblogging/browser/metaweblogapi.py
> ==============================================================================
> --- quills.remoteblogging/trunk/quills/remoteblogging/browser/metaweblogapi.py	(original)
> +++ quills.remoteblogging/trunk/quills/remoteblogging/browser/metaweblogapi.py	Tue Sep 18 21:43:16 2007
> @@ -115,14 +115,12 @@
>      def getUsersBlogs(self, appkey, username, password):
>          """See IMetaWeblogAPI.
>          """
> -        app = IUIDManager(self.context).getByUID(appkey)
> -        return IUserManager(app).getWeblogsForUser(username)
> +        return IUserManager(self.context).getWeblogsForUser(username)
>  
>      def getUserInfo(self, appkey, username, password):
>          """See IMetaWeblogAPI.
>          """
> -        app = IUIDManager(self.context).getByUID(appkey)
> -        return IUserManager(app).getUserInfo(username)
> +        return IUserManager(self.context).getUserInfo(username)

Hi Tom,

Yes, as you suspected in your tracker message, this part of your change
caught my eye.  Can you give the rationale for the change?

Tim


More information about the quills-dev mailing list