def getmtime(path, use_sudo=False):
 func = ((use_sudo and run_as_root) or run)
 with settings(hide('running', 'stdout')):
  return int(func(('stat -c %%Y "%(path)s" ' % locals())).strip())

def getmtime ( path , use_sudo = False ) : func = ( ( use_sudo and run_as_root ) or run ) with settings ( hide ( 'running' , 'stdout' ) ) : return int ( func ( ( 'stat -c %%Y "%(path)s" ' % locals ( ) ) ) . strip ( ) )
return the last modification time of a file .