search for: b480d036e

Displaying 2 results from an estimated 2 matches for "b480d036e".

2018 Aug 22
4
[PATCH] generator: Do not claim copyright for future years
....py /usr/lib64/ocaml/guestfs/guestfs.mli Commits like 212762c59351822e9db7d3dc82afe1765808d918 will take care of updating the year. --- generator/docstrings.ml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/generator/docstrings.ml b/generator/docstrings.ml index fa7b1668a..b480d036e 100644 --- a/generator/docstrings.ml +++ b/generator/docstrings.ml @@ -68,9 +68,7 @@ let version_added = function Some (sprintf "%d.%d.%d" major minor release) | _ -> None -let copyright_years = - let this_year = 1900 + (localtime (time ())).tm_year in - if this_year > 2...
2018 Aug 22
0
Re: [PATCH] generator: Do not claim copyright for future years
...t; > Commits like 212762c59351822e9db7d3dc82afe1765808d918 > will take care of updating the year. > --- > generator/docstrings.ml | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/generator/docstrings.ml b/generator/docstrings.ml > index fa7b1668a..b480d036e 100644 > --- a/generator/docstrings.ml > +++ b/generator/docstrings.ml > @@ -68,9 +68,7 @@ let version_added = function > Some (sprintf "%d.%d.%d" major minor release) > | _ -> None > > -let copyright_years = > - let this_year = 1900 + (localtime (time...