1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-20 18:50:17 +03:00

In util/paths.py fixes:

----------------------
    - Few Line: expected 2 blank lines
This commit is contained in:
Viktor Volkov 2020-01-17 17:58:30 +04:00
parent 12a11ef38d
commit 3c2c9f1545

View File

@ -1,11 +1,13 @@
import pathlib
def default_policy_path():
'''
Returns path pointing to Default Policy directory.
'''
return pathlib.Path('/usr/share/local-policy/default')
def cache_dir():
'''
Returns path pointing to gpupdate's cache directory
@ -17,6 +19,7 @@ def cache_dir():
return cachedir
def local_policy_cache():
'''
Returns path to directory where lies local policy settings cache