conduit r1246 - in trunk: . conduit/dataproviders



Author: jstowers
Date: Fri Jan 18 21:33:59 2008
New Revision: 1246
URL: http://svn.gnome.org/viewvc/conduit?rev=1246&view=rev

Log:
2008-01-19  John Stowers  <john stowers gmail com>

	* conduit/dataproviders/Image.py: Fix sync "crashing": NameError: 
	global name 'Rid' is not defined. Reported by maxxer



Modified:
   trunk/ChangeLog
   trunk/conduit/dataproviders/Image.py

Modified: trunk/conduit/dataproviders/Image.py
==============================================================================
--- trunk/conduit/dataproviders/Image.py	(original)
+++ trunk/conduit/dataproviders/Image.py	Fri Jan 18 21:33:59 2008
@@ -144,7 +144,7 @@
                     if comp != conduit.datatypes.COMPARISON_EQUAL:
                         raise Exceptions.SynchronizeConflictError(comp, photo, remoteFile)
                     else:
-                        return Rid(uid=LUID)
+                        return conduit.datatypes.Rid(uid=LUID)
 
         log.debug("Uploading Photo URI = %s, Mimetype = %s, Original Name = %s" % (photoURI, mimeType, originalName))
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]