Fix bug with debian_nextcodename
This commit is contained in:
parent
d007a40333
commit
3a7dd605e3
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ def debian_codename_to_next(codename)
|
|||
if codename == "sid"
|
||||
return "experimental"
|
||||
else
|
||||
codenames = Facter::Util::Debian::CODENAMES.values.reverse
|
||||
codenames = Facter::Util::Debian::CODENAMES.values
|
||||
i = codenames.index(codename)
|
||||
if i and i+1 < codenames.count
|
||||
return codenames[i+1]
|
||||
|
|
Loading…
Reference in a new issue