1
0
forked from pool/budgie-extras
budgie-extras/python3-shebangs.patch

221 lines
7.1 KiB
Diff

From c38c2a56c9d6e9a75edbaeda1d20e4e2c2cda006 Mon Sep 17 00:00:00 2001
From: Callum Farmer <callumjfarmer13@gmail.com>
Date: Sun, 27 Sep 2020 10:19:13 +0100
Subject: [PATCH] E: env-script-interpreter (Badness: 9)
---
.../src/budgie-app-launcher/AppLauncherApplet.py | 2 +-
budgie-clockworks/cwtools.py | 2 +-
budgie-dropby/budgie_dropby.py | 2 +-
budgie-dropby/checkonwin | 2 +-
budgie-dropby/copy_flash | 2 +-
budgie-dropby/dropby_tools.py | 2 +-
budgie-dropby/dropover | 2 +-
budgie-extras-daemon/src/invoke.py | 2 +-
budgie-kangaroo/budgie_kangaroo.py | 2 +-
budgie-takeabreak/message_window | 2 +-
budgie-takeabreak/takeabreak_run | 2 +-
budgie-wmover/moverbar | 2 +-
budgie-wmover/set_keys.py | 2 +-
budgie-wmover/wmover_panelrunner | 2 +-
budgie-wmover/wmover_run | 2 +-
budgie-wmover/wmovertools.py | 2 +-
budgie-wsoverview/budgie-wsoverview.py | 2 +-
budgie-wsoverview/wsotools.py | 2 +-
.../quickchar/src/quickchar | 2 +-
19 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/budgie-app-launcher/src/budgie-app-launcher/AppLauncherApplet.py b/budgie-app-launcher/src/budgie-app-launcher/AppLauncherApplet.py
index 601c4e6..60d8e92 100644
--- a/budgie-app-launcher/src/budgie-app-launcher/AppLauncherApplet.py
+++ b/budgie-app-launcher/src/budgie-app-launcher/AppLauncherApplet.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# This file is part of App Launcher
diff --git a/budgie-clockworks/cwtools.py b/budgie-clockworks/cwtools.py
index 69b9bfe..83bf516 100644
--- a/budgie-clockworks/cwtools.py
+++ b/budgie-clockworks/cwtools.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import svgwrite
from cairosvg import svg2png
import os
diff --git a/budgie-dropby/budgie_dropby.py b/budgie-dropby/budgie_dropby.py
index 1d3a93a..75ac965 100644
--- a/budgie-dropby/budgie_dropby.py
+++ b/budgie-dropby/budgie_dropby.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import gi
gi.require_version("Gtk", "3.0")
gi.require_version("Wnck", "3.0")
diff --git a/budgie-dropby/checkonwin b/budgie-dropby/checkonwin
index 3a78526..c163109 100755
--- a/budgie-dropby/checkonwin
+++ b/budgie-dropby/checkonwin
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import time
import os
import subprocess
diff --git a/budgie-dropby/copy_flash b/budgie-dropby/copy_flash
index 5cf2c20..8a52927 100755
--- a/budgie-dropby/copy_flash
+++ b/budgie-dropby/copy_flash
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import sys
import shutil
import subprocess
diff --git a/budgie-dropby/dropby_tools.py b/budgie-dropby/dropby_tools.py
index f1fefac..35d9f11 100644
--- a/budgie-dropby/dropby_tools.py
+++ b/budgie-dropby/dropby_tools.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import pyudev
import psutil
import subprocess
diff --git a/budgie-dropby/dropover b/budgie-dropby/dropover
index f96014c..30cfbfb 100755
--- a/budgie-dropby/dropover
+++ b/budgie-dropby/dropover
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import gi
gi.require_version("Gtk", "3.0")
gi.require_version("Gdk", "3.0")
diff --git a/budgie-extras-daemon/src/invoke.py b/budgie-extras-daemon/src/invoke.py
index 9fd9bb9..279741a 100644
--- a/budgie-extras-daemon/src/invoke.py
+++ b/budgie-extras-daemon/src/invoke.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# standard includes
import sys
diff --git a/budgie-kangaroo/budgie_kangaroo.py b/budgie-kangaroo/budgie_kangaroo.py
index 02d2e2c..9ba7642 100644
--- a/budgie-kangaroo/budgie_kangaroo.py
+++ b/budgie-kangaroo/budgie_kangaroo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import os
import subprocess
import gi.repository
diff --git a/budgie-takeabreak/message_window b/budgie-takeabreak/message_window
index 5480610..1cc60d9 100755
--- a/budgie-takeabreak/message_window
+++ b/budgie-takeabreak/message_window
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
diff --git a/budgie-takeabreak/takeabreak_run b/budgie-takeabreak/takeabreak_run
index bb93f91..c018831 100755
--- a/budgie-takeabreak/takeabreak_run
+++ b/budgie-takeabreak/takeabreak_run
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import gi.repository
gi.require_version("Gdk", "3.0")
from gi.repository import Gio, Gdk
diff --git a/budgie-wmover/moverbar b/budgie-wmover/moverbar
index d5516e4..80c7a79 100755
--- a/budgie-wmover/moverbar
+++ b/budgie-wmover/moverbar
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import gi
gi.require_version('Gtk', '3.0')
diff --git a/budgie-wmover/set_keys.py b/budgie-wmover/set_keys.py
index 52b158e..5e7a22a 100644
--- a/budgie-wmover/set_keys.py
+++ b/budgie-wmover/set_keys.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import ast
import os
import subprocess
diff --git a/budgie-wmover/wmover_panelrunner b/budgie-wmover/wmover_panelrunner
index 7a1a772..44e6f94 100755
--- a/budgie-wmover/wmover_panelrunner
+++ b/budgie-wmover/wmover_panelrunner
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import os
import subprocess
import time
diff --git a/budgie-wmover/wmover_run b/budgie-wmover/wmover_run
index 0a41649..b6bf755 100755
--- a/budgie-wmover/wmover_run
+++ b/budgie-wmover/wmover_run
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import sys
import time
import subprocess
diff --git a/budgie-wmover/wmovertools.py b/budgie-wmover/wmovertools.py
index 53fe562..e4344f3 100644
--- a/budgie-wmover/wmovertools.py
+++ b/budgie-wmover/wmovertools.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import os
import subprocess
import time
diff --git a/budgie-wsoverview/budgie-wsoverview.py b/budgie-wsoverview/budgie-wsoverview.py
index f91b35a..40c47b1 100644
--- a/budgie-wsoverview/budgie-wsoverview.py
+++ b/budgie-wsoverview/budgie-wsoverview.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
"""
Workspace Overview
diff --git a/budgie-wsoverview/wsotools.py b/budgie-wsoverview/wsotools.py
index 734ad20..c1fa202 100644
--- a/budgie-wsoverview/wsotools.py
+++ b/budgie-wsoverview/wsotools.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
"""
Workspace Overview
diff --git a/budgie-quickchar/quickchar/src/quickchar b/budgie-quickchar/quickchar/src/quickchar
index 0c87acc..56f13f4 100755
--- a/budgie-quickchar/quickchar/src/quickchar
+++ b/budgie-quickchar/quickchar/src/quickchar
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import os
import gi
gi.require_version("Gtk", "3.0")
--