From 11be37c76725d3a4af9aa7bacd9d08fedef5b718 Mon Sep 17 00:00:00 2001 From: "gcode@loowis.durge.org" Date: Fri, 31 Oct 2014 14:45:50 +0000 Subject: Indentation fix git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@905 67cdc799-7952-0410-af00-57a81ceafa0f --- fs/browsewin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/browsewin.py b/fs/browsewin.py index cedd3de..9ce44fe 100644 --- a/fs/browsewin.py +++ b/fs/browsewin.py @@ -106,9 +106,9 @@ class BrowseFrame(wx.Frame): paths = ( [(True, p) for p in self.fs.listdir(path, absolute=True, dirs_only=True)] + [(False, p) for p in self.fs.listdir(path, absolute=True, files_only=True)] ) except FSError, e: - msg = "Failed to get directory listing for %s\n\nThe following error was reported:\n\n%s" % (path, e) - wx.MessageDialog(self, msg, "Error listing directory", wx.OK).ShowModal() - paths = [] + msg = "Failed to get directory listing for %s\n\nThe following error was reported:\n\n%s" % (path, e) + wx.MessageDialog(self, msg, "Error listing directory", wx.OK).ShowModal() + paths = [] #paths = [(self.fs.isdir(p), p) for p in self.fs.listdir(path, absolute=True)] -- cgit v1.2.1