Jean-Marc Lasgouttes wrote:
> Le 09/02/2016 19:06, Scott Kostyshak a écrit :
>> diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx
>> index ff4068a..fae083f 100644
>> --- a/lib/doc/LFUNs.lyx
>> +++ b/lib/doc/LFUNs.lyx
>> @@ -102,7 +102,7 @@ The \SpecialChar LyX
>> \end_layout
>>
>> \begin_layout Date
>> -2016-01-27
>> +2016-02-09
>> \end_layout
>>
>
> We should just get rid of the date and of the code that generates it.
> Nbody cares about that IMO. If devloppers want to know, git is their
> friend.
I think the date was important when updating the file was not part of the
release procedure. Now that it is regenerated for each release I agree that
it is not needed anymore.
Is the attached OK to go in?
Georg
diff --git a/development/tools/gen_lfuns.py b/development/tools/gen_lfuns.py
index 0fb9380..2c9c5ff 100755
--- a/development/tools/gen_lfuns.py
+++ b/development/tools/gen_lfuns.py
@@ -13,7 +13,6 @@
# gen_lfuns.py <path/to/LyXAction.cpp> <where/to/save/LFUNs.lyx>
import sys,re,os.path
-from datetime import date
def error(message):
sys.stderr.write(message + '\n')
@@ -43,7 +42,7 @@ ID_DICT = dict(name=LFUN_NAME_ID, action=LFUN_ACTION_ID, notion=LFUN_NOTION_ID,
syntax=LFUN_SYNTAX_ID, params=LFUN_PARAMS_ID, sample=LFUN_SAMPLE_ID, origin=LFUN_ORIGIN_ID)
LFUNS_HEADER = """# gen_lfuns.py generated this file. For more info see http://www.lyx.org/
-\\lyxformat 504
+\\lyxformat 506
\\begin_document
\\begin_header
\\save_transient_properties true
@@ -145,9 +144,6 @@ The \\SpecialChar LyX
Team
\\end_layout
-\\begin_layout Date""" + "\n" + str(date.today()) + """
-\\end_layout
-
"""
LFUNS_INTRO ="""\\begin_layout Section*
diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx
index ff4068a..9828cb2 100644
--- a/lib/doc/LFUNs.lyx
+++ b/lib/doc/LFUNs.lyx
@@ -101,10 +101,6 @@ The \SpecialChar LyX
Team
\end_layout
-\begin_layout Date
-2016-01-27
-\end_layout
-
\begin_layout Section*
About this manual
\end_layout