diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2014-05-15 11:19:25 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2014-05-15 11:19:25 +0200 |
commit | ec4a7e7f7662a735e31b87ed8357a6b375b96ada (patch) | |
tree | 6e49627a30c4961a5ff1e2572eb209fba6a75ba3 /test | |
parent | 2f83f3a4f883e33cf44e4a53549e26def7f5953d (diff) | |
download | gvfs-ec4a7e7f7662a735e31b87ed8357a6b375b96ada.tar.gz |
tests: Fix two pyflakes errors
Diffstat (limited to 'test')
-rwxr-xr-x | test/gvfs-test | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/gvfs-test b/test/gvfs-test index 623743fe..f3dd4784 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: |