Use class attributes as much as possible for application output
refs #803
This commit is contained in:
parent
ee8e7cee3d
commit
c07e23cafc
35 changed files with 228 additions and 260 deletions
|
|
@ -18,7 +18,6 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import urllib
|
||||
import sys
|
||||
import codecs
|
||||
|
||||
from PyQt4.QtCore import Qt, SIGNAL
|
||||
|
|
@ -108,6 +107,6 @@ class Recipe(QFrame):
|
|||
with codecs.open(dest, 'w', 'utf-8') as f:
|
||||
f.write(data)
|
||||
except IOError as e:
|
||||
print >>sys.stderr, 'Unable to write Krecipe file in "%s": %s' % (dest, e)
|
||||
print >>self.stderr, 'Unable to write Krecipe file in "%s": %s' % (dest, e)
|
||||
return 1
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue