mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-24 11:52:25 +03:00
added get executable mthode to util
This commit is contained in:
parent
c54b0ffc7b
commit
31cb317b8c
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class Util:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def change_owner(full_path, user_name=None, group_name=None):
|
def change_owner(full_path, user_name=None, group_name=None):
|
||||||
"" try:
|
try:
|
||||||
shutil.chown(full_path, user_name, group_name)
|
shutil.chown(full_path, user_name, group_name)
|
||||||
except:
|
except:
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue