Skip to content

Commit 119fd3e

Browse files
committed
Minor whitespace tidyups
* convert all files to UNIX line-endings * strip trailing whitespace
1 parent 249342f commit 119fd3e

34 files changed

Lines changed: 2222 additions & 2222 deletions

fs/browsewin.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, parent, path, desc, info):
3737

3838
for key in sorted(keys, key=lambda k:k.lower()):
3939
self.list_ctrl.Append((key, unicode(info.get(key))))
40-
40+
4141
self.Center()
4242

4343

@@ -109,10 +109,10 @@ def expand(self, item_id):
109109
msg = "Failed to get directory listing for %s\n\nThe following error was reported:\n\n%s" % (path, e)
110110
wx.MessageDialog(self, msg, "Error listing directory", wx.OK).ShowModal()
111111
paths = []
112-
113-
112+
113+
114114
#paths = [(self.fs.isdir(p), p) for p in self.fs.listdir(path, absolute=True)]
115-
115+
116116
if self.hide_dotfiles:
117117
paths = [p for p in paths if not isdotfile(p[1])]
118118

@@ -173,7 +173,7 @@ def OnItemActivated(self, e):
173173
path = item_data["path"]
174174
info = self.fs.getinfo(path)
175175

176-
info_frame = InfoFrame(self, path, self.fs.desc(path), info)
176+
info_frame = InfoFrame(self, path, self.fs.desc(path), info)
177177
info_frame.Show()
178178
info_frame.CenterOnParent()
179179

fs/commands/fscat.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
import sys
44

55
class FSCat(Command):
6-
6+
77
usage = """fscat [OPTION]... [FILE]...
88
Concetanate FILE(s)"""
99

1010
version = "1.0"
11-
11+
1212
def do_run(self, options, args):
13-
count = 0
14-
for fs, path, is_dir in self.get_resources(args):
13+
count = 0
14+
for fs, path, is_dir in self.get_resources(args):
1515
if is_dir:
1616
self.error('%s is a directory\n' % path)
17-
return 1
17+
return 1
1818
self.output(fs.getcontents(path))
19-
count += 1
19+
count += 1
2020
if self.is_terminal() and count:
2121
self.output('\n')
22-
22+
2323
def run():
2424
return FSCat().run()
25-
25+
2626
if __name__ == "__main__":
2727
sys.exit(run())
28-
28+

0 commit comments

Comments
 (0)