Skip to content

Commit

Permalink
Move message about backup. Refs #6328
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 27, 2013
1 parent 6a12d5a commit 1e27a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/scripts/lib1to2/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def backup(self):
a different filename with the
extension defined by self.backup_ext
"""
messages.notify("Backing up %s to %s" % (self.filename, self.backup_filename))
if self.dobackup and self.filename is not None:
messages.notify("Backing up %s to %s" % (self.filename, self.backup_filename))
shutil.copy(self.filename, self.backup_filename)

def restore_backup(self):
Expand Down

0 comments on commit 1e27a05

Please sign in to comment.