aab1f30906
* group - fix explicit git scenario * Use str for simplicity and remove changelog * dynamically get gid and remove Jinja2 check
12 lines
160 B
Python
12 lines
160 B
Python
#!/usr/bin/env python
|
|
|
|
import grp
|
|
|
|
gids = [g.gr_gid for g in grp.getgrall()]
|
|
|
|
i = 0
|
|
while True:
|
|
if i not in gids:
|
|
print(i)
|
|
break
|
|
i += 1
|