summaryrefslogtreecommitdiff
path: root/sphinx/util
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-17 17:49:01 +0100
committerGeorg Brandl <georg@python.org>2010-01-17 17:49:01 +0100
commitd11a44048c9a7611700a80d454fb46ae06d7b47a (patch)
tree992fc5e75712239376d40add00cabcc6e9f30ad4 /sphinx/util
parentc362543fb9c5478ceee246abacb6f1f383e29449 (diff)
downloadsphinx-d11a44048c9a7611700a80d454fb46ae06d7b47a.tar.gz
Rename os to osutil, thanks to relative imports.
Diffstat (limited to 'sphinx/util')
-rw-r--r--sphinx/util/__init__.py2
-rw-r--r--sphinx/util/osutil.py (renamed from sphinx/util/os.py)4
2 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py
index 12dff9d0..876d3fda 100644
--- a/sphinx/util/__init__.py
+++ b/sphinx/util/__init__.py
@@ -28,7 +28,7 @@ import sphinx
# import other utilities; partly for backwards compatibility, so don't
# prune unused ones indiscriminately
-from sphinx.util.os import SEP, os_path, relative_uri, ensuredir, walk, \
+from sphinx.util.osutil import SEP, os_path, relative_uri, ensuredir, walk, \
mtimes_of_files, movefile, copyfile, copytimes, make_filename, ustrftime
from sphinx.util.nodes import nested_parse_with_titles, split_explicit_title, \
explicit_title_re, caption_ref_re
diff --git a/sphinx/util/os.py b/sphinx/util/osutil.py
index 0f3b1852..beab38cb 100644
--- a/sphinx/util/os.py
+++ b/sphinx/util/osutil.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
- sphinx.util.os
- ~~~~~~~~~~~~~~
+ sphinx.util.osutil
+ ~~~~~~~~~~~~~~~~~~
Operating system-related utility functions for Sphinx.