Commit f291514e authored by Andrey Filippov's avatar Andrey Filippov

fixing

parent 333d1c50
...@@ -28,12 +28,6 @@ def revision_update(path,file): ...@@ -28,12 +28,6 @@ def revision_update(path,file):
pef = None # , preexec_fn=pefuid pef = None # , preexec_fn=pefuid
if (os.getuid() == 0): if (os.getuid() == 0):
bb.warn("Tried to access '"+path+"' as root, demoting to a normal user") bb.warn("Tried to access '"+path+"' as root, demoting to a normal user")
"""
python __anonymous() {
if d.getVar('MY_VARIABLE', True) == "":
bb.warn("MY_VARIABLE is not set. This may lead to unexpected behavior.")
}
"""
#uname = os.getlogin() #uname = os.getlogin()
# uname = getpass.getuser() # uname = getpass.getuser()
# with open("/etc/passwd") as f: # with open("/etc/passwd") as f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment