]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
hacking: Fix false positive in C302 check
authorVictor Stinner <vstinner@redhat.com>
Tue, 9 Feb 2016 13:56:51 +0000 (14:56 +0100)
committerVictor Stinner <vstinner@redhat.com>
Tue, 9 Feb 2016 13:58:46 +0000 (14:58 +0100)
commit917d476180552ba83e9675268d8b479504ed29a1
tree0601747a7f7c0bce1c8c7634a5d839a3c8ef8e03
parent3f2fe6266ec48327b60c9ed73d2a30ae976beb83
hacking: Fix false positive in C302 check

Use a regular expression to search for "unicode(" instead of a static
string to not complain to "exception_to_unicode(error)".

Change-Id: I0a969b184054f287cef463bbcb980bfb4a0a6803
cinder/hacking/checks.py