Skip to content

Commit

Permalink
Add or improve some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
markm committed Dec 19, 2010
1 parent 0933499 commit 35b2de5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc_src/build_autodoc_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
if filename in excluded_files:
continue

# skip files that are already generated
doc_source_filename = os.path.join(
output_folder, filename + ".txt")
if os.path.exists(doc_source_filename):
Expand All @@ -48,7 +49,8 @@

filepath = os.path.join(root, filename)

# find the last instance of 'pywinauto'
# find the last instance of 'pywinauto' to make a module name from
# the path
modulename = 'pywinauto' + filepath.rsplit("pywinauto", 1)[1]
modulename = os.path.splitext(modulename)[0]
modulename = modulename.replace('\\', '.')
Expand Down

0 comments on commit 35b2de5

Please sign in to comment.