fixed PY-4697 "join 2 if's" inspection suggestion is invalid

This commit is contained in:
Ekaterina Tuzova
2011-11-12 22:46:13 +01:00
parent 120122cfc4
commit d08bdb75bb
4 changed files with 22 additions and 5 deletions
@@ -0,0 +1,2 @@
if value is not None and (not validate_uint(value) or value <= self.begin):
print value
@@ -0,0 +1,3 @@
if value is not<caret> None:
if not validate_uint(value) or value <= self.begin:
print value