def _get_pkgng_version(jail=None, chroot=None, root=None):
 cmd = (_pkg(jail, chroot, root) + ['--version'])
 return __salt__['cmd.run'](cmd).strip()

def _get_pkgng_version ( jail = None , chroot = None , root = None ) : cmd = ( _pkg ( jail , chroot , root ) + [ '--version' ] ) return __salt__ [ 'cmd.run' ] ( cmd ) . strip ( )
return the version of pkg .