mirror of
https://github.com/gryf/wicd.git
synced 2025-12-28 17:32:36 +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'),
|
||||
|
||||
@@ -46,7 +46,7 @@ import urwid
|
||||
# DBus communication stuff
|
||||
from dbus import DBusException
|
||||
# It took me a while to figure out that I have to use this.
|
||||
import gobject
|
||||
from gi.repository import GObject as gobject
|
||||
|
||||
# Other important wicd-related stuff
|
||||
from wicd import wpath
|
||||
|
||||
Reference in New Issue
Block a user