##// END OF EJS Templates
lfs: use %d to encode int, not str()...
Augie Fackler -
r36621:dcb6fbaa default
parent child Browse files
Show More
@@ -90,7 +90,7 b' def writetostore(self, text):'
90 90
91 91 # replace contents with metadata
92 92 longoid = 'sha256:%s' % oid
93 metadata = pointer.gitlfspointer(oid=longoid, size=str(len(text)))
93 metadata = pointer.gitlfspointer(oid=longoid, size='%d' % len(text))
94 94
95 95 # by default, we expect the content to be binary. however, LFS could also
96 96 # be used for non-binary content. add a special entry for non-binary data.
General Comments 0
You need to be logged in to leave comments. Login now