Skip to content

Commit

Permalink
Fix division. I think all other uses of the / operator are between fl…
Browse files Browse the repository at this point in the history
…oats but I could be wrong
  • Loading branch information
kylemacfarlane committed Oct 11, 2014
1 parent 7a42f98 commit 5adbc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/rml/attr.py
Expand Up @@ -571,7 +571,7 @@ def fromUnicode(self, ustr):
'Number of elements must be divisible by %i. %s' %(
self.columns, getFileInfo(self.context)))
return [result[i*self.columns:(i+1)*self.columns]
for i in range(len(result)/self.columns)]
for i in range(len(result)//self.columns)]


class RawXMLContent(RMLAttribute):
Expand Down

0 comments on commit 5adbc8b

Please sign in to comment.