Skip to content

Commit

Permalink
De-indent python comments (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed May 17, 2014
1 parent 50f80b1 commit cf50b9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/src/main/python/als.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def update(i, vec, mat, ratings):

if __name__ == "__main__":
"""
Usage: als [M] [U] [F] [iterations] [slices]"
Usage: als [M] [U] [F] [iterations] [slices]"
"""
sc = SparkContext(appName="PythonALS")
M = int(sys.argv[1]) if len(sys.argv) > 1 else 100
Expand Down
2 changes: 1 addition & 1 deletion examples/src/main/python/transitive_closure.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def generateGraph():

if __name__ == "__main__":
"""
Usage: transitive_closure [slices]
Usage: transitive_closure [slices]
"""
sc = SparkContext(appName="PythonTransitiveClosure")
slices = int(sys.argv[1]) if len(sys.argv) > 1 else 2
Expand Down

0 comments on commit cf50b9f

Please sign in to comment.