~ubuntu-branches/ubuntu/quantal/wicd/quantal

« back to all changes in this revision

Viewing changes to curses/wicd-curses.py

  • Committer: Package Import Robot
  • Author(s): David Paleino
  • Date: 2012-04-22 18:42:19 UTC
  • mfrom: (8.2.25 sid)
  • Revision ID: package-import@ubuntu.com-20120422184219-665ml2w32oju9wa9
Tags: 1.7.2.3-1
* New upstram version
  - fix bug with wicd-curses and UTF-8 locales (Closes: #669602)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
# Fix strings in wicd-curses
78
78
from wicd.translations import language
79
 
from wicd.translations import _ as orig_
80
 
for i in language.keys():
81
 
    language[i] = language[i].decode('utf8')
82
 
 
83
 
def _(s):
84
 
    return orig_(s).decode('utf8')
 
79
from wicd.translations import _
85
80
 
86
81
########################################
87
82
##### SUPPORT CLASSES