mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Remove unused imports in the Python files
Found using flake8
This commit is contained in:
parent
c63fc4dc13
commit
7bddb1185f
8 changed files with 4 additions and 24 deletions
|
@ -55,7 +55,7 @@ def notify_win(title, text):
|
|||
|
||||
|
||||
def notify_darwin(title, text):
|
||||
import AppKit, Foundation, objc
|
||||
import Foundation, objc
|
||||
|
||||
NSUserNotification = objc.lookUpClass("NSUserNotification")
|
||||
NSUserNotificationCenter = objc.lookUpClass("NSUserNotificationCenter")
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import os.path as path
|
||||
from os import chdir
|
||||
import subprocess
|
||||
import SimpleHTTPServer
|
||||
import SocketServer
|
||||
import mozdebug
|
||||
import sys
|
||||
from shutil import copytree, rmtree, ignore_patterns, copy2
|
||||
from shutil import copytree, rmtree, copy2
|
||||
|
||||
from mach.registrar import Registrar
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue