projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ac63b
)
Replace some unicode() with str()
author
Diane Trout
<diane@ghic.org>
Fri, 20 Mar 2015 21:18:33 +0000
(14:18 -0700)
committer
Diane Trout
<diane@ghic.org>
Fri, 20 Mar 2015 21:18:33 +0000
(14:18 -0700)
htsworkflow/util/rdfhelp.py
patch
|
blob
|
history
diff --git
a/htsworkflow/util/rdfhelp.py
b/htsworkflow/util/rdfhelp.py
index ebd2d2695781a5166d2955aefdc2be9375a5af9d..da4b02a1a4af7bd2364f2b2cd024ca2f554182b2 100644
(file)
--- a/
htsworkflow/util/rdfhelp.py
+++ b/
htsworkflow/util/rdfhelp.py
@@
-98,10
+98,10
@@
def toTypedNode(value, language="en"):
value = u'0'
elif isinstance(value, int):
value_type = xsdNS['decimal'].uri
- value =
unicode
(value)
+ value =
str
(value)
elif isinstance(value, float):
value_type = xsdNS['float'].uri
- value =
unicode
(value)
+ value =
str
(value)
elif isinstance(value, datetime):
value_type = xsdNS['dateTime'].uri
if value.microsecond == 0: