1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-03 12:24:14 +01:00

fixing more Python version issues

This commit is contained in:
Adam Blackburn
2010-12-23 09:12:58 -10:00
parent 0e9eac0a89
commit e3f16e237d
5 changed files with 14 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
""" autoconnect -- Triggers an automatic connection attempt. """

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright (C) 1999-2006 Keith Dart <keith@kdart.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
""" Suspends the wicd daemon.

View File

@@ -1806,7 +1806,7 @@ def main(argv):
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
if not no_poll:
child_pid = Popen([misc.find_path("python2"), "-O",
child_pid = Popen([wpath.python, "-O",
os.path.join(wpath.daemon, "monitor.py")],
shell=False, close_fds=True).pid
atexit.register(on_exit, child_pid)