Skip to content

Commit

Permalink
Clean up unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Jan 18, 2022
1 parent 64aa123 commit f276843
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Clipman.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import subprocess
import json
from lib import logger, execGet, tryOr, findExec, pidOf
from lib import execGet, findExec, pidOf

name = 'Clipman'
client = 'clipman'
Expand Down
3 changes: 1 addition & 2 deletions Clipster.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import os
import subprocess
import re
import urllib.request
from lib import logger, execGet, findExec, pidOf
from lib import execGet, findExec, pidOf


name = 'Clipster'
Expand Down
2 changes: 1 addition & 1 deletion CopyQ.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import subprocess
import json
from lib import logger, execGet, tryOr, findExec, pidOf
from lib import execGet, findExec, pidOf


name = 'CopyQ'
Expand Down
3 changes: 1 addition & 2 deletions GPaste.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import subprocess
from lib import logger, execGet, findExec, pidOf
from lib import execGet, findExec, pidOf


name = 'GPaste'
Expand Down
3 changes: 1 addition & 2 deletions lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
import subprocess
import sys
import gi
import os
from distutils.spawn import find_executable as find_exec

gi.require_version('Gdk', '3.0')
gi.require_version('Gtk', '3.0')
gi.require_version('Notify', '0.7')

from gi.repository import Gdk, Gtk, Notify, GObject
from time import sleep
from distutils.spawn import find_executable as findExec


logger = logging.getLogger('ulauncher-clipboard')
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import GPaste
import Clipman

from lib import logger, pidOf, tryInt, ensureStatus, findExec, getThemeIcon, setClipboard, showMessage
from lib import logger, tryInt, ensureStatus, getThemeIcon, setClipboard, showMessage
from ulauncher.api.client.Extension import Extension
from ulauncher.api.client.EventListener import EventListener
from ulauncher.api.shared.event import KeywordQueryEvent, PreferencesEvent, PreferencesUpdateEvent, ItemEnterEvent
Expand Down

0 comments on commit f276843

Please sign in to comment.