Skip to content

Commit 21aecd5

Browse files
committed
Fix python indentation
1 parent 0fd5fd1 commit 21aecd5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

python/__init__.py

+6-7
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@
2424
__revision__ = '$Format:%H$'
2525

2626
try:
27-
# Add a __nonzero__ method onto QPyNullVariant so we can check for null values easier.
28-
# >>> value = QPyNullVariant("int")
29-
# >>> if value:
30-
# >>> print "Not a null value"
31-
from types import MethodType
32-
from PyQt4.QtCore import QPyNullVariant
27+
# Add a __nonzero__ method onto QPyNullVariant so we can check for null values easier.
28+
# >>> value = QPyNullVariant("int")
29+
# >>> if value:
30+
# >>> print "Not a null value"
31+
from types import MethodType
32+
from PyQt4.QtCore import QPyNullVariant
3333
def __nonzero__(self):
3434
return False
3535

3636
QPyNullVariant.__nonzero__ = MethodType(__nonzero__, None, QPyNullVariant)
3737
except ImportError:
3838
pass
39-

0 commit comments

Comments
 (0)