mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Missing keep options in timer
This commit is contained in:
parent
5760e8fe53
commit
c6d070d682
2 changed files with 14 additions and 1 deletions
|
@ -59,5 +59,18 @@ name.en = ""
|
|||
type = "number"
|
||||
min = 0
|
||||
default = 8
|
||||
|
||||
[main.main.keep_last]
|
||||
help = ''
|
||||
type = "number"
|
||||
min = 0
|
||||
default = 0
|
||||
|
||||
[main.main.keep_within]
|
||||
help = ''
|
||||
type = "string"
|
||||
pattern.regexp = '^\d+[Hdw]$'
|
||||
pattern.error = "keep_within_error"
|
||||
default = ""
|
||||
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ class TarBackupArchive(BackupArchive):
|
|||
return "\n".join(tar.getnames())
|
||||
else:
|
||||
return {f.name: {
|
||||
"mode": f.mode, # FIXME Numeric or letter mode
|
||||
"mode": f.mode, # FIXME Numeric or letter mode
|
||||
"type": int(f.type),
|
||||
"uid": f.uid,
|
||||
"gid": f.gid,
|
||||
|
|
Loading…
Add table
Reference in a new issue