Code: Alles auswählen
hans@poorbill:~/Projects/py/distri/NorPyTar> pychecker -u -L 500 norpytar.py
Processing norpytar...
Warnings...
norpytar.py:97: Parameter (modal) not used
norpytar.py:580: Iterating over a string (_s1)
Code: Alles auswählen
def saveLogFile(self):
s = str(self.FileDlg.getSaveFileName(FN, "Save Log File (*.log)",self))
if len(s) != 0:
fd=open(s, 'w')
_s1 = str(QString.local8Bit(self.Log.text()))
for _s in _s1: #hier Zeile 580 #####################
fd.write(_s)
fd.close()
Hans