freebsd-ports/sysutils/zeitgeist/files/patch-extra__PythonSerializer.py
Koop Mast 064daf5d70 Update to 0.8.2.
Unbreak, get LDFLAGS from configure_ENV.

Submitted by:	avilla@
Feature safe:	yes
2012-04-07 18:03:42 +00:00

13 lines
580 B
Python

--- extra/PythonSerializer.py.orig 2011-09-21 13:57:53.000000000 -0400
+++ extra/PythonSerializer.py 2012-04-07 05:36:04.507729012 -0400
@@ -85,8 +85,8 @@
assert root_type
#TODO: displayname, how are translation handled? on trig level or on python level?
stream.write(
- "Symbol('%s', parent=%r, uri='%s', display_name='%s', doc='%s', auto_resolve=False)\n" %(name,
- root_type, symbol, display_name, doc)
+ str("Symbol('%s', parent=%r, uri='%s', display_name='%s', doc='%s', auto_resolve=False)\n" %(name,
+ root_type, symbol, display_name, doc))
)