dabo Commit
Revision 5683
Date: 2010-02-15 08:52:11 -0800 (Mon, 15 Feb 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5683

Changed:
U   trunk/dabo/lib/RemoteConnector.py

Log:
Turned out that there was no need for pickling, as the Python objects came 
across just fine using json, so I removed the extra step.


Diff:
Modified: trunk/dabo/lib/RemoteConnector.py
===================================================================
--- trunk/dabo/lib/RemoteConnector.py   2010-02-14 16:31:02 UTC (rev 5682)
+++ trunk/dabo/lib/RemoteConnector.py   2010-02-15 16:52:11 UTC (rev 5683)
@@ -260,8 +260,8 @@
                except urllib2.URLError:
                        # Right now re-raise it and let the UI handle it
                        raise
-               pickleRet = res.read()
-               filecode, chgs, serverMf = pickle.loads(jsonDecode(pickleRet))
+               nonpickleRet = res.read()
+               filecode, chgs, serverMf = jsonDecode(nonpickleRet)
                # Everything after this is relative to the app's home 
directory, so
                # change to it
                currdir = os.getcwd()



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to