summaryrefslogtreecommitdiff
path: root/django/utils/_os.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 13:12:09 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 13:12:09 -0700
commit7548aa8ffd46eb6e0f73730d1b2eb515ba581f95 (patch)
tree963393779f4c8c33351ea605f708f8da7d9f70bf /django/utils/_os.py
parent65c4ac3b2434d1828cb76c9f4454fe64e81354ee (diff)
More attacking E302 violators
Diffstat (limited to 'django/utils/_os.py')
-rw-r--r--django/utils/_os.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/utils/_os.py b/django/utils/_os.py
index 3e60c1082c..40a8e278fc 100644
--- a/django/utils/_os.py
+++ b/django/utils/_os.py
@@ -34,6 +34,7 @@ else:
path = join(os.getcwdu(), path)
return normpath(path)
+
def upath(path):
"""
Always return a unicode path.
@@ -42,6 +43,7 @@ def upath(path):
return path.decode(fs_encoding)
return path
+
def npath(path):
"""
Always return a native path, that is unicode on Python 3 and bytestring on