Skip to content

Commit

Permalink
Add other log message levels to migration tool. Refs #6328
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 27, 2013
1 parent 1e27a05 commit 07c494c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/scripts/lib1to2/rules/stringreplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
(re.compile("mtd\.settings"), "config"),
(re.compile("mtd\.getConfigProperty"), "config.getString"),
(re.compile("mtd\.workspaceExists"), "mtd.doesExist"),
(re.compile("(mtd|mantid).sendErrorMessage"), "logger.error"),
(re.compile("(mtd|mantid).sendWarningMessage"), "logger.warning"),
(re.compile("(mtd|mantid).sendLogMessage"), "logger.notice"),
(re.compile("(mtd|mantid).sendInformationMessage"), "logger.information"),
(re.compile("(mtd|mantid).sendDebugMessage"), "logger.debug"),
(re.compile("(mtd|mantid).deleteWorkspace"), "mtd.remove"),
(re.compile("\.workspace\(\)"), "")
Expand Down

0 comments on commit 07c494c

Please sign in to comment.