Skip to content

Commit

Permalink
Fix shebang and executable flag for all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyfrosch committed Apr 5, 2020
1 parent 0f05cd8 commit 23135f2
Show file tree
Hide file tree
Showing 41 changed files with 28 additions and 58 deletions.
3 changes: 2 additions & 1 deletion remotinator
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# remotinator - send commands to Terminator via DBus
# Copyright (C) 2006-2010 [email protected]
#
Expand Down
3 changes: 2 additions & 1 deletion terminator
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
#!/usr/bin/env python
#
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
#
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/borg.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""borg.py - We are the borg. Resistance is futile.
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/config.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# TerminatorConfig - layered config classes
# Copyright (C) 2006-2010 [email protected]
# TerminatorConfig - layered config classes
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/container.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""container.py - classes necessary to contain Terminal widgets"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/cwd.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""cwd.py - function necessary to get the cwd for a given pid on various OSes
Expand Down
2 changes: 0 additions & 2 deletions terminatorlib/debugserver.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python2
#
# Copyright (c) 2008, Thomas Hurst <[email protected]>
#
# Use of this file is unrestricted provided this notice is retained.
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/editablelabel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab
#
# Copyright (c) 2009, Emmanuel Bretelle <[email protected]>
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/encoding.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# TerminatorEncoding - charset encoding classes
# Copyright (C) 2006-2010 [email protected]
# TerminatorEncoding - charset encoding classes
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/factory.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""factory.py - Maker of objects
Expand Down
2 changes: 1 addition & 1 deletion terminatorlib/freebsd.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# Copyright (c) 2008, Thomas Hurst <[email protected]>
#
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/ipc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""ipc.py - DBus server and API calls"""
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/keybindings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion terminatorlib/layoutlauncher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""layoutlauncher.py - class for the Layout Launcher window"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/notebook.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""notebook.py - classes for the notebook widget"""
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/optionparse.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator.optionparse - Parse commandline options
# Copyright (C) 2006-2010 [email protected]
# Terminator.optionparse - Parse commandline options
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/paned.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""paned.py - a base Paned container class and the vertical/horizontal
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/plugin.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""plugin.py - Base plugin system
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/plugins/activitywatch.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""activitywatch.py - Terminator Plugin to watch a terminal for activity"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/plugins/custom_commands.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""custom_commands.py - Terminator Plugin to add custom command menu entries"""
Expand Down
2 changes: 0 additions & 2 deletions terminatorlib/plugins/logger.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python2

# Plugin by Sinan Nalkaya <[email protected]>
# See LICENSE of Terminator package.

Expand Down
2 changes: 1 addition & 1 deletion terminatorlib/plugins/maven.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Copyright (c) 2010 Julien Nicoulaud <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
Expand All @@ -14,6 +13,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor
# , Boston, MA 02110-1301 USA

import re
import terminatorlib.plugin as plugin

Expand Down
1 change: 0 additions & 1 deletion terminatorlib/plugins/terminalshot.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""terminalshot.py - Terminator Plugin to take 'screenshots' of individual
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/plugins/testplugin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
import terminatorlib.plugin as plugin

# AVAILABLE must contain a list of all the classes that you want exposed
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/plugins/url_handlers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]?
# GPL v2 only
"""url_handlers.py - Default plugins for URL handling"""
Expand Down
2 changes: 1 addition & 1 deletion terminatorlib/prefseditor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
"""Preferences Editor for Terminator.
Load a UIBuilder config file, display it,
Expand Down
Empty file modified terminatorlib/pylint.sh
100755 → 100644
Empty file.
1 change: 0 additions & 1 deletion terminatorlib/searchbar.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""searchbar.py - classes necessary to provide a terminal search bar"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/signalman.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""Simple management of Gtk Widget signal handlers"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/terminal.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""terminal.py - classes necessary to provide Terminal widgets"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/terminal_popup_menu.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""terminal_popup_menu.py - classes necessary to provide a terminal context
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/terminator.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""terminator.py - class for the master Terminator singleton"""
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/titlebar.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""titlebar.py - classes necessary to provide a terminal title bar"""
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/translation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/util.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator.util - misc utility functions
# Copyright (C) 2006-2010 [email protected]
# Terminator.util - misc utility functions
# Copyright (C) 2006-2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
5 changes: 2 additions & 3 deletions terminatorlib/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python2
# TerminatorVersion - version number
# Copyright (C) 2010 [email protected]
# TerminatorVersion - version number
# Copyright (C) 2010 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion terminatorlib/window.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""window.py - class for the main Terminator window"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_doctests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
"""Load up the tests."""

import os
Expand Down
3 changes: 2 additions & 1 deletion tests/testborg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""testborg.py - We are the borg. Resistance is futile.
Expand Down Expand Up @@ -57,3 +57,4 @@ def prepare_attributes(self):
if not self.attribute:
self.attribute = 1

# TODO: implement test?
2 changes: 1 addition & 1 deletion tests/testsignalman.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# Terminator by Chris Jones <[email protected]>
# GPL v2 only
"""testsignalman.py - Test the signalman class
Expand Down

0 comments on commit 23135f2

Please sign in to comment.