summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/pythonlegacy-cn.html.markdown
diff options
context:
space:
mode:
authorSimon Shine <shreddedglory@gmail.com>2020-02-12 05:50:44 +0100
committerSimon Shine <shreddedglory@gmail.com>2020-02-12 07:04:42 +0100
commit887cbee8af080034177734b528819491e73a7a16 (patch)
tree736dd14707173644546e01ec8419e25175b40159 /zh-cn/pythonlegacy-cn.html.markdown
parent8f5fac98958098864b86e2a09d8131d6dafaaddd (diff)
Change 'filename:' for Python 2 (legacy)
Before renaming, all Python 2 filenames were 'learnpython-*.py'. This commit renames them to 'learnpythonlegacy-*.py'. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` find . -name "pythonlegacy*.markdown" -exec ack filename: {} \; find . -name "pythonlegacy*.markdown" -exec \ sed -i 's/^filename: learnpython/filename: learnpythonlegacy/' {} \; ```
Diffstat (limited to 'zh-cn/pythonlegacy-cn.html.markdown')
-rw-r--r--zh-cn/pythonlegacy-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/pythonlegacy-cn.html.markdown b/zh-cn/pythonlegacy-cn.html.markdown
index 98759857..756081d6 100644
--- a/zh-cn/pythonlegacy-cn.html.markdown
+++ b/zh-cn/pythonlegacy-cn.html.markdown
@@ -4,7 +4,7 @@ contributors:
- ["Louie Dinh", "http://ldinh.ca"]
translators:
- ["Chenbo Li", "http://binarythink.net"]
-filename: learnpython-zh.py
+filename: learnpythonlegacy-zh.py
lang: zh-cn
---