From 64de5f735cf0dbdf1a17903b535a1da915d39a6f Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 26 May 2014 14:15:35 -0700 Subject: removed unused imports --- boot/boot.py | 1 - boot/broadcast.txt | 2 +- boot/connect.txt | 4 ++-- boot/vocabcompiler.py | 1 - boot/wifi.py | 1 - 5 files changed, 3 insertions(+), 6 deletions(-) (limited to 'boot') diff --git a/boot/boot.py b/boot/boot.py index 658748a..56bcc7e 100755 --- a/boot/boot.py +++ b/boot/boot.py @@ -2,7 +2,6 @@ import os, json import urllib2 -import subprocess import yaml from wifi import * diff --git a/boot/broadcast.txt b/boot/broadcast.txt index 36942c4..ac01451 100755 --- a/boot/broadcast.txt +++ b/boot/broadcast.txt @@ -1,7 +1,7 @@ auto lo iface lo inet loopback iface eth0 inet dhcp - + auto wlan0 iface wlan0 inet static address 192.168.1.1 diff --git a/boot/connect.txt b/boot/connect.txt index b30d831..91d2b0c 100644 --- a/boot/connect.txt +++ b/boot/connect.txt @@ -2,8 +2,8 @@ auto lo iface lo inet loopback iface eth0 inet dhcp - -allow-hotplug wlan0 + +allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wpa-ssid "{{ SSID }}" diff --git a/boot/vocabcompiler.py b/boot/vocabcompiler.py index d8c2295..4daaa26 100644 --- a/boot/vocabcompiler.py +++ b/boot/vocabcompiler.py @@ -12,7 +12,6 @@ mod_path = os.path.abspath('../client/modules/') sys.path.append(lib_path) sys.path.append(mod_path) -import modules import g2p diff --git a/boot/wifi.py b/boot/wifi.py index 7e2fa43..3170ecf 100755 --- a/boot/wifi.py +++ b/boot/wifi.py @@ -15,7 +15,6 @@ class Wifi: if "Address" in line: - address = line[29:-1] name = lines[index + 1].split("\"")[1] self.access_points.append(name) -- cgit v1.3.1