summaryrefslogtreecommitdiffstats
path: root/chitin/utils.py
diff options
context:
space:
mode:
authorIzhar Firdaus <kagesenshi.87@gmail.com>2008-06-23 23:13:14 +0800
committerIzhar Firdaus <kagesenshi.87@gmail.com>2008-06-23 23:13:14 +0800
commite5b94a96d02699032a1467e85bf82505181eb6f7 (patch)
tree3cc86f45b45133f9c215e52cee53d658863a4e1e /chitin/utils.py
parent4e5b4a39c432395b62470176c84b96db44b8d34f (diff)
downloadchitin-e5b94a96d02699032a1467e85bf82505181eb6f7.tar.gz
chitin-e5b94a96d02699032a1467e85bf82505181eb6f7.tar.xz
chitin-e5b94a96d02699032a1467e85bf82505181eb6f7.zip
- added basic yum plugin
Diffstat (limited to 'chitin/utils.py')
-rw-r--r--chitin/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/chitin/utils.py b/chitin/utils.py
index b10bfc3..47b7e95 100644
--- a/chitin/utils.py
+++ b/chitin/utils.py
@@ -14,6 +14,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+import re
+
def attrsfilter(elements,keywords,operation='or'):
"""
Function to filter elements by its attributes