mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Fix python 3 compat
This commit is contained in:
@@ -9,7 +9,10 @@ and structure of the site and pages in the site.
|
||||
|
||||
import os
|
||||
import shutil
|
||||
from urlparse import urlparse
|
||||
try:
|
||||
from urlparse import urlparse
|
||||
except ImportError:
|
||||
from urllib.parse import urlparse
|
||||
|
||||
|
||||
def copy_file(source_path, output_path):
|
||||
|
||||
Reference in New Issue
Block a user