mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-26 06:03:46 +03:00
Unnecessary test removed
This commit is contained in:
parent
59ccecd457
commit
38e70647f7
@ -1,16 +0,0 @@
|
||||
#! /usr/bin/env python3
|
||||
|
||||
from gpoa.util.users import with_privileges
|
||||
from gpoa.util.arguments import set_loglevel
|
||||
|
||||
def test_fn():
|
||||
with open('testfile', 'w') as f:
|
||||
f.write('test')
|
||||
|
||||
def main():
|
||||
set_loglevel(1)
|
||||
with_privileges('test', test_fn)
|
||||
|
||||
if '__main__' == __name__:
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user