try:
self.logTxtFile = open(str(self.txtFilePath), 'w')
except IOError:
- msg1 = _("WARNING! Trying to write to a file that"
- " is not accessible:")
- msg2 = _("The logs won't be written.")
- print("%s\n%s\n%s\n" % (src.printcolors.printcWarning(msg1),
- src.printcolors.printcLabel(str(self.txtFilePath)),
- src.printcolors.printcWarning(msg2) ))
+ #msg1 = _("WARNING! Trying to write to a file that"
+ # " is not accessible:")
+ #msg2 = _("The logs won't be written.")
+ #print("%s\n%s\n%s\n" % (src.printcolors.printcWarning(msg1),
+ # src.printcolors.printcLabel(str(self.txtFilePath)),
+ # src.printcolors.printcWarning(msg2) ))
self.logTxtFile = tempfile.TemporaryFile()
# If the option all_in_terminal was called, all the system commands
"full_command" : full_cmd})
# Write the file on the hard drive
- xmlHat.write_tree('hat.xsl')
\ No newline at end of file
+ xmlHat.write_tree('hat.xsl')