Skip to content

Commit 54d3883

Browse files
authored
Merge pull request plone#1161 from stevepiercy/code-format
Code format
2 parents 468e5c1 + 3356e2a commit 54d3883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/addMetaData.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"modified": 0,
2222
"unmodified": 0,
2323
}
24-
docs_dir = './docs' if os.path.isdir('./docs') else '.'
24+
docs_dir = "./docs" if os.path.isdir("./docs") else "."
2525

2626
for root, dirs, files in os.walk(docs_dir):
2727
for name in files:
2828
if name.endswith(".md"):
2929
filename = os.path.join(root, name)
3030
# print(filename)
31-
with open(filename, 'r+') as f:
31+
with open(filename, "r+") as f:
3232
data = f.read()
3333
if not data.startswith(metadata_check):
3434
f.seek(0)

0 commit comments

Comments
 (0)