diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2013-06-13 03:22:23 +0000 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2013-06-13 03:22:23 +0000 |
commit | 8c543c11cc58a01b78ff5b6470a87b765e363d69 (patch) | |
tree | 5d362b88e83368e85aed35e9de6a7006d55a2a2a /sphinx/util/osutil.py | |
parent | f24eb8c47d3d14c9771db45baab267c930613dec (diff) | |
download | sphinx-git-8c543c11cc58a01b78ff5b6470a87b765e363d69.tar.gz |
Fix: Output TeX/texinfo/man filename has no basename (only extention) when using multibyte characters to "Project name" on quickstart. Closes #1190
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r-- | sphinx/util/osutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py index a6235f895..f3557c3ea 100644 --- a/sphinx/util/osutil.py +++ b/sphinx/util/osutil.py @@ -134,7 +134,7 @@ def copyfile(source, dest): no_fn_re = re.compile(r'[^a-zA-Z0-9_-]') def make_filename(string): - return no_fn_re.sub('', string) + return no_fn_re.sub('', string) or 'sphinx' if sys.version_info < (3, 0): # strftime for unicode strings |