remove unnecesary calls to int()

This commit is contained in:
Andrew Case
2018-12-19 00:54:51 +00:00
committed by ikelos
parent 1dba08c005
commit a98995aa4e
@@ -115,7 +115,7 @@ class vnode(generic.GenericIntelProcess):
self._do_calc_path(ret, vnodeobj.v_parent, vnodeobj.v_parent.v_name)
def full_path(self):
if int(self.v_flag) & 0x000001 != 0 and int(self.v_mount) != 0 and int(self.v_mount.mnt_flag) & 0x00004000 != 0:
if self.v_flag & 0x000001 != 0 and self.v_mount != 0 and self.v_mount.mnt_flag & 0x00004000 != 0:
ret = "/"
else:
elements = []