Commit ec4398d
committed
Fixed pyspark indentation issue
see https://issues.apache.org/jira/browse/ZEPPELIN-34, should allow:
%pyspark
if True:
print "one"
else:
print "two"
def test_func(text):
for i in range(1, 10):
print text + '-' + str(i)
test_func('fixed')1 parent b33bf50 commit ec4398d
1 file changed
+7
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
| 88 | + | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 98 | + | |
| 99 | + | |
113 | 100 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
132 | 105 | | |
133 | 106 | | |
134 | 107 | | |
| |||
137 | 110 | | |
138 | 111 | | |
139 | 112 | | |
140 | | - | |
0 commit comments