[commons] refactoring: 'user' module moved to 'api'

This commit is contained in:
Vinicius Moreira
2021-11-23 18:02:54 -03:00
parent 8f9810bd69
commit f78498c1ec
8 changed files with 12 additions and 9 deletions

5
bauh/api/user.py Normal file
View File

@@ -0,0 +1,5 @@
import os
def is_root():
return os.getuid() == 0