Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pystache_custom
Commits
d88f3153
Commit
d88f3153
authored
Apr 07, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed _to_unicode to _default_to_unicode.
parent
7a8aa8f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pystache/loader.py
+2
-2
No files found.
pystache/loader.py
View file @
d88f3153
...
...
@@ -12,7 +12,7 @@ from pystache import defaults
from
pystache.locator
import
Locator
def
_to_unicode
(
s
,
encoding
=
None
):
def
_
default_
to_unicode
(
s
,
encoding
=
None
):
"""
Raises a TypeError exception if the given string is already unicode.
...
...
@@ -67,7 +67,7 @@ class Loader(object):
search_dirs
=
defaults
.
SEARCH_DIRS
if
to_unicode
is
None
:
to_unicode
=
_to_unicode
to_unicode
=
_
default_
to_unicode
self
.
extension
=
extension
self
.
file_encoding
=
file_encoding
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment