comparison mxtool/mx.py @ 21959:3adf20a59771

fixed pylint issue
author Doug Simon <doug.simon@oracle.com>
date Sat, 13 Jun 2015 00:59:15 +0200
parents 555f788b964b
children 7a0c8adc0a30
comparison
equal deleted inserted replaced
21958:ab37091f0980 21959:3adf20a59771
2605 2605
2606 if old == content: 2606 if old == content:
2607 return False 2607 return False
2608 2608
2609 if existed and _opts.backup_modified: 2609 if existed and _opts.backup_modified:
2610 shutil.move(path, path + '.orig') 2610 shutil.move(path, path + '.orig')
2611 2611
2612 with open(path, 'wb') as f: 2612 with open(path, 'wb') as f:
2613 f.write(content) 2613 f.write(content)
2614 2614
2615 if existed: 2615 if existed: