Commit e0460ba3dcb79dd2db53f0e47e8e93cfb18288e3
Merge pull request #147 from yuvadm/patch-1
Update lfpwToSigset.py
Showing
1 changed file
with
1 additions
and
1 deletions
scripts/lfpwToSigset.py
| ... | ... | @@ -37,7 +37,7 @@ for lfpwType in ['train','test']: |
| 37 | 37 | if not os.path.exists('sigset'): |
| 38 | 38 | os.mkdir('sigset') |
| 39 | 39 | out = open('sigset/%s.xml' % lfpwType,'w') |
| 40 | - print >> out, xmlRoot.toprettyxml() | |
| 40 | + out.write(xmlRoot.toprettyxml()) | |
| 41 | 41 | out.close() |
| 42 | 42 | |
| 43 | 43 | ... | ... |