1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

updated shebangs & other p3 references

This commit is contained in:
Guido Serra
2019-09-11 12:14:15 +02:00
parent 317576bc26
commit 5860ad8251
27 changed files with 28 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
""" Scriptable command-line interface. """
# This program is free software; you can redistribute it and/or modify

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""configscript_curses.py
Kind of like configscript.py, except written using urwid.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -* coding: utf-8 -*-
""" curses_misc.py: Module for various widgets that are used throughout

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
netentry_curses -- everyone's favorite networks settings dialogs... in text
form!

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""prefs_curses.py -- Pretty, tabbable, console preferences dialog"""

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -* coding: utf-8 -*-
""" wicd-curses. (curses/urwid-based) console interface to wicd

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
""" configscript -- Configure the scripts for a particular network.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
""" gui -- The main wicd GUI module.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
""" prefs -- Wicd Preferences Dialog.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
""" wicd - wireless connection daemon frontend implementation

View File

@@ -1,2 +1,2 @@
#!/bin/bash
exec /usr/bin/python -O /usr/share/wicd/cli/wicd-cli.py $@
exec /usr/bin/python3 -O /usr/share/wicd/cli/wicd-cli.py $@

View File

@@ -9,4 +9,4 @@ if [ -e "/var/lib/wicd/WHEREAREMYFILES" ] && [ ! -L "$HOME/.wicd/WHEREAREMYFILES
ln -s "/var/lib/wicd/WHEREAREMYFILES" "$HOME/.wicd/WHEREAREMYFILES"
fi
exec /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py $@
exec /usr/bin/python3 -O /usr/share/wicd/gtk/wicd-client.py $@

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2007 - 2009 Adam Blackburn
# Copyright (C) 2007 - 2009 Dan O'Reilly
@@ -268,7 +268,7 @@ class configure(Command):
# If the assumption above turns out to be wrong, do this:
#pass # use our default
self.python = '/usr/bin/python'
self.python = '/usr/bin/python3'
self.pidfile = '/var/run/wicd/wicd.pid'
self.initfilename = os.path.basename(self.initfile)
self.wicdgroup = 'users'

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import unittest

View File

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

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
""" Backend manager for wicd.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
""" Network interface control tools for wicd.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" ioctl Network interface control tools for wicd.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
""" configmanager -- Wicd configuration file manager

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
""" The wicd DBus Manager.

View File

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

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
""" monitor -- connection monitoring process

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" networking - Provides wrappers for common network operations

View File

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

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -* coding: utf-8 -*-
""" translations -- module for handling the translation strings for wicd. """

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" wicd - wireless connection daemon implementation.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" Network interface control tools for wicd.