mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
More Python 3 fixes needed to also install the packages
Daemon still does not start. It fails as follows:
Traceback (most recent call last):
File "/usr/share/wicd/daemon/wicd-daemon.py", line 62, in <module>
from wicd.logfile import ManagedStdio
File "/usr/lib/python3/dist-packages/wicd/logfile.py", line 32, in <module>
class LogFile(file):
NameError: name 'file' is not defined
This commit is contained in:
@@ -707,7 +707,7 @@ class OptCols(urwid.WidgetWrap):
|
||||
# callbacks map the text contents to its assigned callback.
|
||||
self.callbacks = []
|
||||
for cmd in tuples:
|
||||
key = reduce(lambda s, (f, t): s.replace(f, t), [
|
||||
key = reduce(lambda s, tuple: s.replace(tuple[0], tuple[1]), [
|
||||
('ctrl ', 'Ctrl+'), ('meta ', 'Alt+'),
|
||||
('left', '<-'), ('right', '->'),
|
||||
('page up', 'Page Up'), ('page down', 'Page Down'),
|
||||
|
||||
Reference in New Issue
Block a user