
    ӭh                     $    d Z dZd Zd Zd Zd Zy)a  
Provides helper functions for the PackageKit layer

Copyright (C) 2007 Ali Sabil <ali.sabil@gmail.com>
Copyright (C) 2007 Tom Parker <palfrey@tevp.net>
Copyright (C) 2008-2013 Sebastian Heinlein <glatzor@ubuntu.com>

Licensed under the GNU General Public License Version 2

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
z%Sebastian Heinlein <devel@glatzor.de>c                  :    d}| D ]  }|dt        |      z  z  } |S )z4Return the bitfield with the given PackageKit enums.       int)enumsfieldenums      0/usr/lib/python3/dist-packages/aptkit/pkutils.pybitfield_summarizer      s-    E  c$i L    c                 (    | dt        |      z  z  } | S )z&Add a PackageKit enum to a given fieldr   r   r   r	   s     r
   bitfield_addr      s    	Q#d)^ELr   c                 (    | dt        |      z  z  } | S )z)Remove a PackageKit enum to a given fieldr   r   r   s     r
   bitfield_remover   #   s    ATN"ELr   c                 $    | dt        |      z  z  S )z<Return True if a bitfield contains the given PackageKit enumr   r   r   s     r
   bitfield_containsr   )   s    1D	>!!r   N)__doc__
__author__r   r   r   r    r   r
   <module>r      s%    5
"r   