summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-10-24 17:18:31 +0300
committerLars Wirzenius <liw@liw.fi>2015-10-24 17:18:31 +0300
commit220c63472a14cc2d55c7c48b03ed119737dc873a (patch)
treeb5d49569f31812e6a1872568457c101347870c50
parent28fbb8fab29b4488aa03ec95c18a80b97010f278 (diff)
downloadobnam-220c63472a14cc2d55c7c48b03ed119737dc873a.tar.gz
Reformat code for pep8
-rw-r--r--obnamlib/vfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/obnamlib/vfs.py b/obnamlib/vfs.py
index 60819eaf..05838bd3 100644
--- a/obnamlib/vfs.py
+++ b/obnamlib/vfs.py
@@ -296,8 +296,8 @@ class VirtualFileSystem(object):
def is_directory(pair):
_, metadata = pair
- return (not isinstance(metadata, BaseException)
- and stat.S_ISDIR(metadata.st_mode))
+ return (not isinstance(metadata, BaseException) and
+ stat.S_ISDIR(metadata.st_mode))
def list_files(pathname):
try: