Skip to content

Commit 051cd18

Browse files
author
Justus Pendleton
committed
fix class docstring per alex
1 parent 91ef620 commit 051cd18

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

roundup/backends/blobfiles.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
#$Id: blobfiles.py,v 1.20 2007-09-11 21:33:30 jpend Exp $
18+
#$Id: blobfiles.py,v 1.21 2007-09-12 16:15:40 jpend Exp $
1919
'''This module exports file storage for roundup backends.
2020
Files are stored into a directory hierarchy.
2121
'''
@@ -36,10 +36,11 @@ def files_in_dir(dir):
3636
return num_files
3737

3838
class FileStorage:
39+
"""Store files in some directory structure"""
40+
3941
def __init__(self, umask):
4042
self.umask = umask
4143

42-
"""Store files in some directory structure"""
4344
def subdirFilename(self, classname, nodeid, property=None):
4445
"""Determine what the filename and subdir for nodeid + classname is."""
4546
if property:
@@ -104,9 +105,9 @@ def storefile(self, classname, nodeid, property, content):
104105
# save off the rename action
105106
self.transactions.append((self.doStoreFile, (classname, nodeid,
106107
property)))
107-
# always set umask before writing to make sure we have the proper one
108-
# in multi-tracker (i.e. multi-umask) or modpython scenarios
109-
# the umask may have changed since last we set it.
108+
# always set umask before writing to make sure we have the proper one
109+
# in multi-tracker (i.e. multi-umask) or modpython scenarios
110+
# the umask may have changed since last we set it.
110111
os.umask(self.umask)
111112
open(name, 'wb').write(content)
112113

0 commit comments

Comments
 (0)