]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commit
Use a dict of patterns instead of several global variables
authorGermán Póo-Caamaño <gpoo@gnome.org>
Thu, 23 Jun 2011 01:46:49 +0000 (18:46 -0700)
committerGermán Póo-Caamaño <gpoo@gnome.org>
Thu, 23 Jun 2011 02:27:47 +0000 (19:27 -0700)
commit70df53f20f22f3a591a1e3dbf30fb6c934be1c78
treea2982f997a95a4e6f02e4427d02efe7cbe190205
parent935be113b3ad3023b102ec00ba0272315a6d27e7
Use a dict of patterns instead of several global variables

The dictionary used allows the use of a single meaningful
variable with a cleaner code.  Also, it is not harder to add
new patterns.

Signed-off-by: Germán Póo-Caamaño <gpoo@gnome.org>
gitdm
patterns.py