Thrift: Whitespace cleanup.
Summary:
- Expanded tabs to spaces where spaces were the norm.
- Deleted almost all trailing whitespace.
- Added newlines to the ends of a few files.
- Ran dos2unix on one file or two.
Reviewed By: mcslee
Test Plan: git diff -b
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/py/PythonClient.py b/tutorial/py/PythonClient.py
index 9dcecd9..05f1719 100755
--- a/tutorial/py/PythonClient.py
+++ b/tutorial/py/PythonClient.py
@@ -35,7 +35,7 @@
print '1+1=%d' % (sum)
work = Work()
-
+
work.op = Operation.DIVIDE
work.num1 = 1
work.num2 = 0
@@ -45,11 +45,11 @@
print 'Whoa? You know how to divide by zero?'
except InvalidOperation, io:
print 'InvalidOperation: %s' % (io.__str__())
-
+
work.op = Operation.SUBTRACT
work.num1 = 15
work.num2 = 10
-
+
diff = client.calculate(1, work)
print '15-10=%d' % (diff)