Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
updated shebangs & other p3 references
Browse files Browse the repository at this point in the history
  • Loading branch information
zeph committed Sep 11, 2019
1 parent 317576b commit 5860ad8
Show file tree
Hide file tree
Showing 27 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion cli/wicd-cli.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion curses/configscript_curses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""configscript_curses.py
Kind of like configscript.py, except written using urwid.
Expand Down
2 changes: 1 addition & 1 deletion curses/curses_misc.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion curses/netentry_curses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
netentry_curses -- everyone's favorite networks settings dialogs... in text
form!
Expand Down
2 changes: 1 addition & 1 deletion curses/prefs_curses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""prefs_curses.py -- Pretty, tabbable, console preferences dialog"""

Expand Down
2 changes: 1 addition & 1 deletion curses/wicd-curses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -* coding: utf-8 -*-

""" wicd-curses. (curses/urwid-based) console interface to wicd
Expand Down
2 changes: 1 addition & 1 deletion gtk/configscript.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" configscript -- Configure the scripts for a particular network.
Expand Down
2 changes: 1 addition & 1 deletion gtk/gui.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

""" gui -- The main wicd GUI module.
Expand Down
2 changes: 1 addition & 1 deletion gtk/prefs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

""" prefs -- Wicd Preferences Dialog.
Expand Down
2 changes: 1 addition & 1 deletion gtk/wicd-client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" wicd - wireless connection daemon frontend implementation
Expand Down
2 changes: 1 addition & 1 deletion scripts/wicd-cli
Original file line number Diff line number Diff line change
@@ -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 $@
2 changes: 1 addition & 1 deletion scripts/wicd-gtk
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -268,7 +268,7 @@ def initialize_options(self):
# 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'
Expand Down
2 changes: 1 addition & 1 deletion tests/testmisc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import unittest
Expand Down
2 changes: 1 addition & 1 deletion wicd/autoconnect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" autoconnect -- Triggers an automatic connection attempt. """

Expand Down
2 changes: 1 addition & 1 deletion wicd/backend.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" Backend manager for wicd.
Expand Down
2 changes: 1 addition & 1 deletion wicd/backends/be-external.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-

""" Network interface control tools for wicd.
Expand Down
2 changes: 1 addition & 1 deletion wicd/backends/be-ioctl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" ioctl Network interface control tools for wicd.
Expand Down
2 changes: 1 addition & 1 deletion wicd/configmanager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" configmanager -- Wicd configuration file manager
Expand Down
2 changes: 1 addition & 1 deletion wicd/dbusmanager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" The wicd DBus Manager.
Expand Down
2 changes: 1 addition & 1 deletion wicd/logfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

#
# Copyright (C) 1999-2006 Keith Dart <keith@kdart.com>
Expand Down
2 changes: 1 addition & 1 deletion wicd/monitor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" monitor -- connection monitoring process
Expand Down
2 changes: 1 addition & 1 deletion wicd/networking.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" networking - Provides wrappers for common network operations
Expand Down
2 changes: 1 addition & 1 deletion wicd/suspend.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

""" Suspends the wicd daemon.
Expand Down
2 changes: 1 addition & 1 deletion wicd/translations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -* coding: utf-8 -*-

""" translations -- module for handling the translation strings for wicd. """
Expand Down
2 changes: 1 addition & 1 deletion wicd/wicd-daemon.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" wicd - wireless connection daemon implementation.
Expand Down
2 changes: 1 addition & 1 deletion wicd/wnettools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Network interface control tools for wicd.
Expand Down

0 comments on commit 5860ad8

Please sign in to comment.