Commits

Janto Dreijer  committed 7222ebd

accidentally removed code

  • Participants
  • Parent commits 774a5b0

Comments (0)

Files changed (3)

-You will need to have the Google App Engine installed to do anything useful.
+You will need to have the Google App Engine (GAE) installed to do anything useful.
+
+Issues
+----------
 
 The first time you load the package listing things might be a bit slow while package info is retrieved.
 You might even experience the following errors depending on your internet speed:
     DownloadError: ApplicationError: 2 timed out
 If this keeps happening, check that your is http_proxy is set.
 
+GAE has issues with some proxy setups. Pretty much all of them IMNSHO. You can hack it by following these instructions:
+   http://code.google.com/p/googleappengine/issues/detail?id=544
+
+
 If you find a bug, let me know and I'l fix it.
 
 Janto Dreijer

File code/tools.py

 	)
 logger = logging.getLogger("")
 
+import rdfxml
+class Sink(object):
+	def __init__(self):
+		self.result = []
+	def triple(self, s, p, o):
+		self.result.append((s, p, o))
+def rdfToPython(s, base=None):
+	sink = Sink()
+	return rdfxml.parseRDF(s, base=None, sink=sink).result
+
 class GoogleXMLRPCTransport(object):
 	"""Handles an HTTP transaction to an XML-RPC server."""
 
-echo $http_proxy
-echo $https_proxy
+echo http_proxy: $http_proxy
+echo https_proxy: $https_proxy
 if [ -f google_appengine/dev_appserver.py ]
 then
 	python2.5 google_appengine/dev_appserver.py --debug code