##// END OF EJS Templates
templater: fix "one arguments"
av6 -
r35387:fdd09d87 stable
parent child Browse files
Show More
@@ -918,7 +918,7 b' def max_(context, mapping, args, **kwarg'
918 918 """Return the max of an iterable"""
919 919 if len(args) != 1:
920 920 # i18n: "max" is a keyword
921 raise error.ParseError(_("max expects one arguments"))
921 raise error.ParseError(_("max expects one argument"))
922 922
923 923 iterable = evalfuncarg(context, mapping, args[0])
924 924 try:
@@ -933,7 +933,7 b' def min_(context, mapping, args, **kwarg'
933 933 """Return the min of an iterable"""
934 934 if len(args) != 1:
935 935 # i18n: "min" is a keyword
936 raise error.ParseError(_("min expects one arguments"))
936 raise error.ParseError(_("min expects one argument"))
937 937
938 938 iterable = evalfuncarg(context, mapping, args[0])
939 939 try:
@@ -958,7 +958,7 b' def obsfateoperations(context, mapping, '
958 958 """Compute obsfate related information based on markers (EXPERIMENTAL)"""
959 959 if len(args) != 1:
960 960 # i18n: "obsfateoperations" is a keyword
961 raise error.ParseError(_("obsfateoperations expects one arguments"))
961 raise error.ParseError(_("obsfateoperations expects one argument"))
962 962
963 963 markers = evalfuncarg(context, mapping, args[0])
964 964
@@ -975,7 +975,7 b' def obsfatedate(context, mapping, args):'
975 975 """Compute obsfate related information based on markers (EXPERIMENTAL)"""
976 976 if len(args) != 1:
977 977 # i18n: "obsfatedate" is a keyword
978 raise error.ParseError(_("obsfatedate expects one arguments"))
978 raise error.ParseError(_("obsfatedate expects one argument"))
979 979
980 980 markers = evalfuncarg(context, mapping, args[0])
981 981
@@ -992,7 +992,7 b' def obsfateusers(context, mapping, args)'
992 992 """Compute obsfate related information based on markers (EXPERIMENTAL)"""
993 993 if len(args) != 1:
994 994 # i18n: "obsfateusers" is a keyword
995 raise error.ParseError(_("obsfateusers expects one arguments"))
995 raise error.ParseError(_("obsfateusers expects one argument"))
996 996
997 997 markers = evalfuncarg(context, mapping, args[0])
998 998
General Comments 0
You need to be logged in to leave comments. Login now