8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

Missing Fixes

This commit is contained in:
Maël Kervella 2018-04-14 01:53:34 +00:00
parent 7b0b5c2af4
commit 955bf42b02
2 changed files with 3 additions and 3 deletions

View file

@ -62,8 +62,8 @@ class Payment():
ret = "" ret = ""
for key in array_tpe: for key in array_tpe:
ret += '<input type="hidden" name="{k}" value="{v}"/>'.format( ret += '<input type="hidden" name="{k}" value="{v}"/>'.format(
'k'=key, k=key,
'v'=array_type[key] v=array_type[key]
) )
return ret return ret

View file

@ -592,7 +592,7 @@ class Mx(RevMixin, AclMixin, models.Model):
fichiers de zones""" fichiers de zones"""
return "@ IN MX {prior} {name}".format( return "@ IN MX {prior} {name}".format(
prior=str(self.priority).ljust(3), prior=str(self.priority).ljust(3),
name=str(name) name=str(self.name)
) )
def __str__(self): def __str__(self):