[gvfs] tests: Fix two pyflakes errors
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] tests: Fix two pyflakes errors
- Date: Thu, 15 May 2014 09:21:02 +0000 (UTC)
commit ec4a7e7f7662a735e31b87ed8357a6b375b96ada
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu May 15 11:19:25 2014 +0200
tests: Fix two pyflakes errors
test/gvfs-test | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index 623743f..f3dd478 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -32,7 +32,6 @@ import shutil
import fcntl
import re
import locale
-import signal
import socket
from glob import glob
@@ -1363,7 +1362,7 @@ DAVLockDB DAVLock
# start server
try:
subprocess.check_call([httpd_cmd, '-d', klass.httpd_sandbox, '-f', 'apache2.conf', '-k',
'start'])
- except subprocess.CalledProcessError as e:
+ except subprocess.CalledProcessError:
error_log = os.path.join(klass.httpd_sandbox, 'error_log')
if os.path.exists(error_log):
with open(error_log) as f:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]